Skip to content

Commit

Permalink
Fix Qt5LinguistTools detection/lrelease binary location
Browse files Browse the repository at this point in the history
Correctly find the Qt5 module that provides the path to Qt5-based lrelease.
Available since >= Qt-5.3.1 which is well below the current minimum for QGIS.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
  • Loading branch information
a17r committed Nov 23, 2020
1 parent 3240f78 commit db2fee6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion i18n/CMakeLists.txt
@@ -1,4 +1,5 @@
find_program(QT_LRELEASE_EXECUTABLE NAMES lrelease-qt5 lrelease)
find_package(Qt5LinguistTools REQUIRED)
set(QT_LRELEASE_EXECUTABLE Qt5::lrelease)

macro(ADD_TRANSLATION_FILES _sources )
foreach (_current_FILE ${ARGN})
Expand Down

0 comments on commit db2fee6

Please sign in to comment.