diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/opengl/hellowindow/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | examples/qpa/windows/CMakeLists.txt | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/examples/opengl/hellowindow/CMakeLists.txt b/examples/opengl/hellowindow/CMakeLists.txt index 95f627be9dc..58bd3fc362c 100644 --- a/examples/opengl/hellowindow/CMakeLists.txt +++ b/examples/opengl/hellowindow/CMakeLists.txt @@ -18,14 +18,11 @@ add_qt_gui_executable(hellowindow hellowindow.cpp hellowindow.h main.cpp ) -target_link_libraries(hellowindow PRIVATE - Qt::CorePrivate - Qt::GuiPrivate -) - target_link_libraries(hellowindow PUBLIC Qt::Core + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate ) install(TARGETS hellowindow diff --git a/examples/qpa/windows/CMakeLists.txt b/examples/qpa/windows/CMakeLists.txt index 6f9bbe75343..4eeab0e3bc0 100644 --- a/examples/qpa/windows/CMakeLists.txt +++ b/examples/qpa/windows/CMakeLists.txt @@ -18,14 +18,11 @@ add_executable(windows main.cpp window.cpp window.h ) -target_link_libraries(windows PRIVATE - Qt::CorePrivate - Qt::GuiPrivate -) - target_link_libraries(windows PUBLIC Qt::Core + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate ) install(TARGETS windows |
