diff options
Diffstat (limited to 'examples/opengl/hellowindow/CMakeLists.txt')
-rw-r--r-- | examples/opengl/hellowindow/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/CMakeLists.txt b/examples/opengl/hellowindow/CMakeLists.txt index 341b52b2cb..95f627be9d 100644 --- a/examples/opengl/hellowindow/CMakeLists.txt +++ b/examples/opengl/hellowindow/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/hellowindow") find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) @@ -22,6 +22,7 @@ target_link_libraries(hellowindow PRIVATE Qt::CorePrivate Qt::GuiPrivate ) + target_link_libraries(hellowindow PUBLIC Qt::Core Qt::Gui |