diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-10-02 16:11:04 +0100 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-10-04 09:25:23 +0100 |
commit | 8abe35b4214a24470dd5f8c0949f67253e10374b (patch) | |
tree | 0d4fae3039aed4f6aa4ada49d4391289bd909791 /modules | |
parent | c36e5abaecfca3c4d7b3957f935e2f061fcad488 (diff) | |
download | extra-cmake-modules-8abe35b4214a24470dd5f8c0949f67253e10374b.tar.gz extra-cmake-modules-8abe35b4214a24470dd5f8c0949f67253e10374b.tar.bz2 |
ECMFindQMLModule: Use QT_HOST_BINS to find qmlplugindump
When cross-compiling QT_INSTALL_BINS contains binaries for the target
system that can't be used during the build. Instead use QT_HOST_BINS
which contains the Qt build tools for the current system.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ECMFindQMLModule.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMFindQMLModule.cmake.in b/modules/ECMFindQMLModule.cmake.in index 6f01c779..4234b702 100644 --- a/modules/ECMFindQMLModule.cmake.in +++ b/modules/ECMFindQMLModule.cmake.in @@ -7,7 +7,7 @@ include(FindPackageHandleStandardArgs) include("${ECM_MODULE_DIR}/ECMQueryQmake.cmake") -query_qmake(qt_binaries_dir QT_INSTALL_BINS) +query_qmake(qt_binaries_dir QT_HOST_BINS) find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir}) if(NOT QMLPLUGINDUMP_PROGRAM) |