CMake: Add optional dependency on OpenGLWidgets

Needed for some benchmarks.

Change-Id: I795112bd795bd230fb4852e0aab466547bf56cb2
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexandru Croitor 2020-03-16 13:25:22 +01:00
parent 971968fb92
commit ea592334fd
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ project(QtDeclarative # special case
) )
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network # 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 OPTIONAL_COMPONENTS OpenGL OpenGLWidgets Sql Concurrent Test) # special case
# special case begin # special case begin
# export QT6_ADD_QML_MODULE to this project # export QT6_ADD_QML_MODULE to this project