summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-02-24 11:31:47 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-02-24 17:07:43 +0100
commit27bd7e0093da00fcf425986bd1f58cdbfca1fe42 (patch)
tree3eea76bde3bab1e28952c0b3fb1e5f9b91999eea
parent6b80de3915988d2a1fedb09c4bd6dc60addaeba9 (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. Pick-to: 6.2 6.3 Change-Id: I1ae18c5dfe9677c5f46a102e434e32187cb0d703 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
-rw-r--r--cmake/qt.toolchain.cmake.in2
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@