From 0c39e5c76d5a04b1e710d9038332dc21ad323bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Wed, 15 Dec 2021 16:50:28 +0100 Subject: [PATCH] Examples: Remove unneeded target_include_directories Pick-to: 6.3 Change-Id: Icd97815ee231c34ad4ea5ab94a73bfc26df7e0ca Reviewed-by: Alexandru Croitor --- examples/gui/rasterwindow/CMakeLists.txt | 4 ---- examples/opengl/openglwindow/CMakeLists.txt | 4 ---- examples/opengl/qopenglwindow/CMakeLists.txt | 4 ---- examples/sql/books/CMakeLists.txt | 4 ---- 4 files changed, 16 deletions(-) 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