diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-02-24 11:31:47 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-25 12:32:22 +0000 |
commit | 335d399cc5855ba38c31fe70d5139973e0a48a89 (patch) | |
tree | a021c7c9b510cc5e6b7665cfbf9bb01eccd29f3f /cmake/qt.toolchain.cmake.in | |
parent | ad3e4d109779beff8cdd2d62bf11262f964aebad (diff) |
CMake: Forward QT_ADDITIONAL_(HOST_)PACKAGES_PREFIX_PATH to try_compile
All variables that are used in qt.toolchain.cmake should be recorded in
__qt_toolchain_used_variables. This is mostly done for consistency and
to avoid surprises in future configure checks.
Change-Id: I1ae18c5dfe9677c5f46a102e434e32187cb0d703
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 27bd7e0093da00fcf425986bd1f58cdbfca1fe42)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake/qt.toolchain.cmake.in')
-rw-r--r-- | cmake/qt.toolchain.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in index 193e4ba873..9054e9c4ef 100644 --- a/cmake/qt.toolchain.cmake.in +++ b/cmake/qt.toolchain.cmake.in @@ -6,6 +6,8 @@ set(__qt_toolchain_used_variables QT_HOST_PATH QT_HOST_PATH_CMAKE_DIR QT_REQUIRE_HOST_PATH_CHECK + QT_ADDITIONAL_PACKAGES_PREFIX_PATH + QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH ) @init_additional_used_variables@ |