diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-03-12 03:34:03 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-03-12 03:34:03 +0100 |
commit | f4edc50e4756b2289254ee308223faed9be6a2c7 (patch) | |
tree | 97b18efe1ebb2b853db965b956a11d25d6c49ed8 /klinkstatus/src/CMakeLists.txt | |
parent | 70defe5e6d9498c5c6011eee50c4dc506abebd61 (diff) | |
download | tdewebdev-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 'klinkstatus/src/CMakeLists.txt')
-rw-r--r-- | klinkstatus/src/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/klinkstatus/src/CMakeLists.txt b/klinkstatus/src/CMakeLists.txt index eb3e7bdb..b8a5eea3 100644 --- a/klinkstatus/src/CMakeLists.txt +++ b/klinkstatus/src/CMakeLists.txt @@ -8,12 +8,15 @@ include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/klinkstatus/src/ui ${CMAKE_BINARY_DIR}/klinkstatus/src/ui/settings ) +include_directories( SYSTEM + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + link_directories( ${TQT_LIBRARY_DIRS} ${TDE_LIB_DIR} |