Fix installation of Find*.cmake files in shadow per-repo builds
In shadow per-repo builds we never hit the code that is supposed to install cmake/Find*.cmake files. This caused problems when statically building a Qt repo like qtshadertools against qtimageformats which provides such Find*.cmake files. Fixes: QTBUG-91538 Change-Id: I1147daee817ac71303d93e8bf368b2769afb0bb4 Reviewed-by: Craig Scott <craig.scott@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
e6cee41c53
commit
232c70ecc8
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue