From fdd1ef8010d16319540b4974d8ac4c705971880a Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 20 Oct 2020 15:44:30 +0200 Subject: CMake: Fix no-widgets build Task-number: QTBUG-86053 Change-Id: I356d9b551209a2870e9484112658d0470d056a85 Reviewed-by: Cristian Adam --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1081622..0a4e77a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,6 @@ project(QtSvg set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE) # special case end -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets) # special case -find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Xml) # special case for tests +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case +find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets Xml) # special case qt_build_repo() -- cgit v1.2.1