qt5base-lts/tests/auto/cmake/test_generating_cpp_exports
Joerg Bornemann b684984939 CMake: Fix find_package(Qt6*Tools) in non-qtbase tests
Tests in non-qtbase modules could not find_package their own Qt6*Tools
packages, because add_subdirectory(tests) was called before the config
files for Qt6*Tools were created.

The creation of tools config files is done in QtPostProcess.cmake, which
was included in qt_build_repo_end(). Move that include into its own
macro, qt_build_repo_post_process() and remove it from
qt_build_repo_end(). Call qt_build_repo_post_process() before the
'tests' directory is added in qt_build_repo().

Every call site of qt_build_repo_end() must now be adjusted and call
qt_build_repo_post_process().

Task-number: QTBUG-88264
Change-Id: I80d60a1b5c0e9b715c298ef4934b562f815432d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-08-23 16:21:58 +02:00
..
test_autogenerating_cpp_exports Fix for CMake tests when build with unity 2023-03-14 17:28:43 +01:00
test_autogenerating_cpp_exports_custom_name Fix for CMake tests when build with unity 2023-03-14 17:28:43 +01:00
.cmake.conf Bump version to 6.7.0 2023-06-12 14:46:07 +01:00
CMakeLists.txt CMake: Fix find_package(Qt6*Tools) in non-qtbase tests 2023-08-23 16:21:58 +02:00