summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-08-18 17:53:28 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-08-18 22:15:35 +0200
commita52b24ac39648b343555de7aff83ffa234958529 (patch)
treeed85ceb63c2c74d0732a08336415310b31babce8 /cmake
parent90d8a7bed6f5e3a27d3a908911d2b80ea83b646f (diff)
CMake: Include quiet packages in feature summary
This will show packages that were found (or not) with find_package(QUIET) in summary just before the configure summary. It's useful for CI logs to determine whether some Qt packages was not found when cross-compiling. Pick-to: 6.2 Change-Id: Ic7d5062cf061f7c60b5c74374f957065dd8029f5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuildInformation.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake
index 9077fb9285..e09f64e958 100644
--- a/cmake/QtBuildInformation.cmake
+++ b/cmake/QtBuildInformation.cmake
@@ -1,7 +1,8 @@
function(qt_print_feature_summary)
include(FeatureSummary)
# Show which packages were found.
- feature_summary(WHAT PACKAGES_FOUND
+ feature_summary(INCLUDE_QUIET_PACKAGES
+ WHAT PACKAGES_FOUND
REQUIRED_PACKAGES_NOT_FOUND
RECOMMENDED_PACKAGES_NOT_FOUND
OPTIONAL_PACKAGES_NOT_FOUND