diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-03-07 14:23:29 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-03-13 16:12:28 +0100 |
commit | 5e4f4816a89673a2501abc458b28365bcf103c47 (patch) | |
tree | f23c46b5ff9095adcfedf28673784f9b9edb9ec1 /cmake/QtTestHelpers.cmake | |
parent | 9f93f96394fd4ab209ba45cd99753b9c7edcf373 (diff) |
Make sure that all dependencies are found before creating tool targets
The result of dependency lookup is not taken into account when
evaluating tool packages. Check for <ToolPackage>_FOUND before creating
the tool targets that belong to the tool package. Adjust the tool package
lookup that the dependencies always affect the lookup result even if
we avoided creating targets by setting QT_NO_CREATE_TARGETS.
Pick-to: 6.5 6.5.0
Change-Id: Ia95c9c71370becc639ed8a9db026aed2f93959b4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
0 files changed, 0 insertions, 0 deletions