summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/hellogl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/legacy/hellogl')
-rw-r--r--examples/opengl/legacy/hellogl/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/legacy/hellogl/CMakeLists.txt b/examples/opengl/legacy/hellogl/CMakeLists.txt
index 5e61d52964..436f3190cc 100644
--- a/examples/opengl/legacy/hellogl/CMakeLists.txt
+++ b/examples/opengl/legacy/hellogl/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
-set(INSTALL_EXAMPLEDIR "examples")
+set(INSTALL_EXAMPLEDIR "examples/opengl/legacy/hellogl")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
@@ -25,6 +25,7 @@ add_qt_gui_executable(hellogl
target_include_directories(hellogl PUBLIC
../shared
)
+
target_link_libraries(hellogl PUBLIC
Qt::Core
Qt::Gui