From 8845ce6d49a625589947314d330f9ddf33fb8a50 Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 10 Sep 2020 11:02:37 +0000 Subject: [PATCH] cmake: cross-compilation to Windows - fix lrelease search paths --- translations/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt index ab10fa4a..cd6b4173 100644 --- a/translations/CMakeLists.txt +++ b/translations/CMakeLists.txt @@ -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)