summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-03-16 15:13:15 +0100
committerQt CI Bot <qt_ci_bot@qt-project.org>2021-03-17 10:39:14 +0000
commita423c0d21174fc88a02277d9cd909b0d6e11018b (patch)
tree0bb0f07a5f6fd9753b7c92d68d08ee3d92dba289 /cmake
parent8dac535a871073ef6d5b29097e5716beaa93d347 (diff)
parent232c70ecc85243205d4cdd62b6d31dcc32dafeba (diff)
Merge "Fix installation of Find*.cmake files in shadow per-repo builds"
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuildInternals/QtBuildInternalsConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
index 0afd9e7299..ddf86230bb 100644
--- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
+++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
@@ -369,7 +369,7 @@ macro(qt_build_repo_end)
qt_path_join(__qt_repo_install_dir ${QT_CONFIG_INSTALL_DIR} ${INSTALL_CMAKE_NAMESPACE})
if(NOT PROJECT_NAME STREQUAL "QtBase")
- if (EXISTS cmake)
+ if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
qt_copy_or_install(DIRECTORY cmake/
DESTINATION "${__qt_repo_install_dir}"
FILES_MATCHING PATTERN "Find*.cmake"