diff --git a/examples/gui/rasterwindow/CMakeLists.txt b/examples/gui/rasterwindow/CMakeLists.txt index 02915911741..714511dc96e 100644 --- a/examples/gui/rasterwindow/CMakeLists.txt +++ b/examples/gui/rasterwindow/CMakeLists.txt @@ -25,10 +25,6 @@ set_target_properties(rasterwindow PROPERTIES MACOSX_BUNDLE TRUE ) -target_include_directories(rasterwindow PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) - target_link_libraries(rasterwindow PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/openglwindow/CMakeLists.txt b/examples/opengl/openglwindow/CMakeLists.txt index d9717daf00b..e7db260eaf3 100644 --- a/examples/opengl/openglwindow/CMakeLists.txt +++ b/examples/opengl/openglwindow/CMakeLists.txt @@ -25,10 +25,6 @@ set_target_properties(openglwindow PROPERTIES MACOSX_BUNDLE TRUE ) -target_include_directories(openglwindow PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) - target_link_libraries(openglwindow PUBLIC Qt::Core Qt::Gui diff --git a/examples/opengl/qopenglwindow/CMakeLists.txt b/examples/opengl/qopenglwindow/CMakeLists.txt index f4b01ebbb79..daa479c37b6 100644 --- a/examples/opengl/qopenglwindow/CMakeLists.txt +++ b/examples/opengl/qopenglwindow/CMakeLists.txt @@ -25,10 +25,6 @@ set_target_properties(qopenglwindow PROPERTIES MACOSX_BUNDLE TRUE ) -target_include_directories(qopenglwindow PUBLIC - . -) - target_link_libraries(qopenglwindow PUBLIC Qt::Core Qt::Gui diff --git a/examples/sql/books/CMakeLists.txt b/examples/sql/books/CMakeLists.txt index 74a6dc086c1..cb575323b9b 100644 --- a/examples/sql/books/CMakeLists.txt +++ b/examples/sql/books/CMakeLists.txt @@ -27,10 +27,6 @@ set_target_properties(books PROPERTIES MACOSX_BUNDLE TRUE ) -target_include_directories(books PUBLIC - . -) - target_link_libraries(books PUBLIC Qt::Core Qt::Gui