From a52b24ac39648b343555de7aff83ffa234958529 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 18 Aug 2021 17:53:28 +0200 Subject: 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 --- cmake/QtBuildInformation.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmake') 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 -- cgit v1.2.3