diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-20 15:44:30 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-21 10:55:38 +0200 |
commit | fdd1ef8010d16319540b4974d8ac4c705971880a (patch) | |
tree | 9b3cb8418dfb6aab53a5d5f9dff00da30df5a683 | |
parent | 2f63ddc6afeb3d2c3c7a42add0129547acd61ede (diff) | |
download | qtsvg-fdd1ef8010d16319540b4974d8ac4c705971880a.tar.gz |
CMake: Fix no-widgets build
Task-number: QTBUG-86053
Change-Id: I356d9b551209a2870e9484112658d0470d056a85
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files 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() |