summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-04-08 14:37:33 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-04-08 14:53:24 +0000
commite0b414448653e722f3e7255a9b8522be961ceb91 (patch)
tree6aea3598c7438c9265b4601678e7d7afb63073ca /cmake
parent5691d2f47b19cde0cec76747ceca0a275292bfd0 (diff)
Force feature_summary to fail when a required package is not found
Apparently calling set_package_properties with TYPE REQUIRED and then calling feature_summary with FATAL_ON_MISSING_REQUIRED_PACKAGES and PACKAGES_NOT_FOUND is not enough to make CMake fail when not finding a required package. You have to explicitly set REQUIRED_PACKAGES_NOT_FOUND to force feature_summary to fail when a package is not found. Do this, and also explicitly add the rest of the NOT FOUND cases, to get a slightly clearer overview what kind of packages were not found. Task-number: QTBUG-74133 Change-Id: Id21af13dafafe0a458cff479e8abbc6aa7e6a3f7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions