diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-02-11 12:13:38 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-02-12 14:02:03 +0000 |
commit | 0867dbf2f410b2096c62a9f40b75e4e5ab86dac9 (patch) | |
tree | 937e532a615b25af3602d3122d102f6fd7496ce2 /cmake/QtSetup.cmake | |
parent | f1b688bc7c33d93993945e25b9d3aa4cc7215c5f (diff) |
Fix finding syncqt when "cross compiling"
This is not quite the correct design yet, but makes the existing
mechanism work first.
Change-Id: Idbc6f1380adc955a772eb6e5beb6b3a5f7f686bb
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
Diffstat (limited to 'cmake/QtSetup.cmake')
-rw-r--r-- | cmake/QtSetup.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index 11ccc129b4..a01d8a651c 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -41,6 +41,8 @@ endif() if("x${HOST_QT_TOOLS_DIRECTORY}" STREQUAL "x") set(QT_SYNCQT "${PROJECT_SOURCE_DIR}/bin/syncqt.pl") install(PROGRAMS "${QT_SYNCQT}" DESTINATION "${INSTALL_BINDIR}") +else() + set(QT_SYNCQT "${HOST_QT_TOOLS_DIRECTORY}/syncqt.pl") endif() ## Enable support for sanitizers: |