From f4edc50e4756b2289254ee308223faed9be6a2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Mar 2021 03:34:03 +0100 Subject: =?UTF-8?q?Fix=20FTBFS=20with=20CMake=20build:=20+=20Determine=20T?= =?UTF-8?q?Qt=20and=20TDE=20include=20directories=20as=20SYSTEM.=20=20=20I?= =?UTF-8?q?t=20solves=20priority=20for=20#include=20"..."=20=C3=97=20#incl?= =?UTF-8?q?ude=20<...>=20+=20Additional=20linked=20libraries.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- lib/CMakeLists.txt | 3 +++ lib/compatibility/tdemdi/CMakeLists.txt | 3 +++ lib/compatibility/tdemdi/qextmdi/CMakeLists.txt | 3 +++ 3 files changed, 9 insertions(+) (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index a76ed738..22bd24a9 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -11,6 +11,9 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} +) + +include_directories( SYSTEM ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) diff --git a/lib/compatibility/tdemdi/CMakeLists.txt b/lib/compatibility/tdemdi/CMakeLists.txt index c3973143..980af1c9 100644 --- a/lib/compatibility/tdemdi/CMakeLists.txt +++ b/lib/compatibility/tdemdi/CMakeLists.txt @@ -4,6 +4,9 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi +) + +include_directories( SYSTEM ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) diff --git a/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt index 12bb58e5..78a41177 100644 --- a/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt +++ b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt @@ -5,6 +5,9 @@ include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi/res +) + +include_directories( SYSTEM ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} ) -- cgit v1.2.1