From 27bd7e0093da00fcf425986bd1f58cdbfca1fe42 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 24 Feb 2022 11:31:47 +0100 Subject: 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 --- cmake/qt.toolchain.cmake.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/qt.toolchain.cmake.in') 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@ -- cgit v1.2.3