summaryrefslogtreecommitdiffstats
path: root/kxsldbg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-12 03:34:03 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-03-12 03:34:03 +0100
commitf4edc50e4756b2289254ee308223faed9be6a2c7 (patch)
tree97b18efe1ebb2b853db965b956a11d25d6c49ed8 /kxsldbg
parent70defe5e6d9498c5c6011eee50c4dc506abebd61 (diff)
downloadtdewebdev-f4edc50e4756b2289254ee308223faed9be6a2c7.tar.gz
tdewebdev-f4edc50e4756b2289254ee308223faed9be6a2c7.zip
Fix FTBFS with CMake build:
+ Determine TQt and TDE include directories as SYSTEM. It solves priority for #include "..." × #include <...> + Additional linked libraries. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kxsldbg')
-rw-r--r--kxsldbg/CMakeLists.txt3
-rw-r--r--kxsldbg/kxsldbgpart/CMakeLists.txt3
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt3
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt3
4 files changed, 12 insertions, 0 deletions
diff --git a/kxsldbg/CMakeLists.txt b/kxsldbg/CMakeLists.txt
index c8d0a2da..d699d4d9 100644
--- a/kxsldbg/CMakeLists.txt
+++ b/kxsldbg/CMakeLists.txt
@@ -8,6 +8,9 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
diff --git a/kxsldbg/kxsldbgpart/CMakeLists.txt b/kxsldbg/kxsldbgpart/CMakeLists.txt
index b3776dde..cf55a993 100644
--- a/kxsldbg/kxsldbgpart/CMakeLists.txt
+++ b/kxsldbg/kxsldbgpart/CMakeLists.txt
@@ -5,6 +5,9 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
index ef507a7c..e8416c7d 100644
--- a/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
@@ -2,6 +2,9 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
index 056331ce..79160bc0 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
+++ b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
@@ -2,6 +2,9 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBXML_INCLUDE_DIRS}