diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-16 10:42:05 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-24 12:29:18 +0000 |
commit | 48c82e90af12da74c713665ddfd7f8d825ae5bdb (patch) | |
tree | 0efa87b0cd1b00c47fce0b566a7a0cbb35fed786 /examples/opengl/threadedqopenglwidget/CMakeLists.txt | |
parent | 502d3d6744913899da87acfda5ebdab42c40329e (diff) | |
download | qtbase-48c82e90af12da74c713665ddfd7f8d825ae5bdb.tar.gz |
Post Merge Fixes
Change-Id: I1e06c01b76b119c3f23b6e6ecbaae8df719b70ce
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/opengl/threadedqopenglwidget/CMakeLists.txt')
-rw-r--r-- | examples/opengl/threadedqopenglwidget/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/opengl/threadedqopenglwidget/CMakeLists.txt b/examples/opengl/threadedqopenglwidget/CMakeLists.txt index 20bee78283..a295c63f71 100644 --- a/examples/opengl/threadedqopenglwidget/CMakeLists.txt +++ b/examples/opengl/threadedqopenglwidget/CMakeLists.txt @@ -9,11 +9,12 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples") +set(INSTALL_EXAMPLEDIR "examples/opengl/threadedqopenglwidget") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) +find_package(Qt6 COMPONENTS OpenGL) add_qt_gui_executable(threadedqopenglwidget glwidget.cpp glwidget.h @@ -23,6 +24,7 @@ add_qt_gui_executable(threadedqopenglwidget target_link_libraries(threadedqopenglwidget PUBLIC Qt::Core Qt::Gui + Qt::OpenGL Qt::Widgets ) |