Install QtCopyFileIfDifferent as the 'public' cmake helper
QtCopyFileIfDifferent needs to be both installed and copied to a build folder as a public CMake helper. Otherwise it's not found when building tests inside the Qt build tree. Pick-to: 6.2 6.3 Fixes: QTBUG-101916 Change-Id: I8d081e594fe694f528ebac4c13bbdf6d3b8402b9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
f0254ef50c
commit
ea30708972
@ -219,7 +219,6 @@ qt_copy_or_install(FILES
|
||||
cmake/QtCompilerFlags.cmake
|
||||
cmake/QtCompilerOptimization.cmake
|
||||
cmake/QtConfigDependencies.cmake.in
|
||||
cmake/QtCopyFileIfDifferent.cmake
|
||||
cmake/QtDeferredDependenciesHelpers.cmake
|
||||
cmake/QtDbusHelpers.cmake
|
||||
cmake/QtDocsHelpers.cmake
|
||||
@ -301,6 +300,7 @@ qt_copy_or_install(DIRECTORY
|
||||
# Usually we put such functions into Qt6CoreMacros.cmake, but that's getting bloated.
|
||||
# These files will be included by Qt6Config.cmake.
|
||||
set(__public_cmake_helpers
|
||||
cmake/QtCopyFileIfDifferent.cmake
|
||||
cmake/QtFeature.cmake
|
||||
cmake/QtFeatureCommon.cmake
|
||||
cmake/QtPublicCMakeHelpers.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user