Merge pull request #3078

8845ce6 cmake: cross-compilation to Windows - fix lrelease search paths (xiphon)
This commit is contained in:
luigi1111 2020-09-12 15:56:03 -05:00
commit a80746adf1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -2,7 +2,7 @@ find_package(Qt5Core REQUIRED)
find_package(Qt5LinguistTools QUIET)
if(NOT Qt5_LRELEASE_EXECUTABLE)
find_program(Qt5_LRELEASE_EXECUTABLE lrelease REQUIRED)
find_program(Qt5_LRELEASE_EXECUTABLE lrelease REQUIRED CMAKE_FIND_ROOT_PATH_BOTH)
endif()
file(GLOB TS_FILES *.ts)