From 539efef79cc4d83bb7afcba7e62a1586fd3f36c5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 20 Oct 2020 16:13:37 +0200 Subject: CMake: Make optional packages not being found a bit quieter Task-number: QTBUG-86053 Change-Id: I9afbea16b8b71f78a77ff77efd57397b438eba60 Reviewed-by: Joerg Bornemann --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 72b838c96..85c57dcf1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,8 +25,9 @@ if(WIN32) endif() find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) -find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Xml Widgets Quick QuickWidgets QmlDevTools - Sql PrintSupport OpenGL OpenGLWidgets ${optional_components}) +find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS + Xml Widgets Quick QuickWidgets QmlDevTools + Sql PrintSupport OpenGL OpenGLWidgets ${optional_components}) # special case end qt_build_repo() -- cgit v1.2.1