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 <alexandru.croitor@qt.io>
This commit is contained in:
parent
016ce36808
commit
49dbef650e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue