From 49dbef650e2eedf178e310ac78eaba95f400584e Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 3 Feb 2020 13:39:01 +0200 Subject: Move OpenGL to optional component Parts of declarative is still buildable without OpenGL Change-Id: If76be1eaca03a4754d1d6a86c3d8fba3329bc773 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e0f120aa5d..cfd53e07b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,8 @@ project(QtDeclarative LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network OpenGL # special case - OPTIONAL_COMPONENTS Sql Concurrent Test) # special case +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network # special case + OPTIONAL_COMPONENTS OpenGL Sql Concurrent Test) # special case # export QT6_ADD_QML_MODULE to this project include(src/qml/Qt6QmlMacros.cmake) -- cgit v1.2.3