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>
This commit is contained in:
Simon Hausmann 2019-02-11 12:13:38 +01:00
parent f1b688bc7c
commit 0867dbf2f4

View File

@ -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: