summaryrefslogtreecommitdiffstats
path: root/cmake/QtConfig.cmake.in
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-01-26 14:33:31 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-01-27 00:17:14 +0100
commitc8621da85265ecec8968eb54bfaa1558474f241b (patch)
tree1193287bbbe6bea6a7945b2cb8d9c2e8bffc50c9 /cmake/QtConfig.cmake.in
parent7015eafa5cc18c720d48467797bc9b55530e7181 (diff)
CMake: Fix host UiTools being picked up instead of target one
Pick-to: 6.2 6.3 Fixes: QTBUG-100233 Change-Id: Id4b30841ba9e499f462325f882218edf407e0a00 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtConfig.cmake.in')
-rw-r--r--cmake/QtConfig.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtConfig.cmake.in b/cmake/QtConfig.cmake.in
index 93f3f5246c..752655c21e 100644
--- a/cmake/QtConfig.cmake.in
+++ b/cmake/QtConfig.cmake.in
@@ -134,6 +134,7 @@ endif()
foreach(module ${@INSTALL_CMAKE_NAMESPACE@_FIND_COMPONENTS})
if(NOT "${QT_HOST_PATH}" STREQUAL ""
AND "${module}" MATCHES "Tools$"
+ AND NOT "${module}" MATCHES "UiTools$"
AND NOT "${module}" MATCHES "ShaderTools$"
AND NOT "${module}" MATCHES "^Tools$"
AND NOT QT_NO_FIND_HOST_TOOLS_PATH_MANIPULATION)