diff options
author | Albert Astals Cid <aacid@kde.org> | 2022-12-04 11:43:16 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2022-12-04 11:43:16 +0100 |
commit | 6a19713ca8473c14905bd25d719757df5987d93b (patch) | |
tree | c240c97dfbf7daec7f35cd78db8c80938ed760ef | |
parent | 49a883dfac1a92fd959a1421627279aec26dcbb9 (diff) |
cmake: A more bit of include tweaking
-rw-r--r-- | test/CMakeLists.txt | 5 | ||||
-rw-r--r-- | utils/CMakeLists.txt | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8334d0f5..afa13529 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -42,11 +42,6 @@ if (GTK_FOUND) endif () if (HAVE_CAIRO) - include_directories( - SYSTEM - ${CAIRO_INCLUDE_DIRS} - ) - include(CheckCXXSymbolExists) set (CMAKE_REQUIRED_INCLUDES ${CAIRO_INCLUDE_DIRS}) check_cxx_symbol_exists(CAIRO_HAS_PNG_FUNCTIONS "cairo.h" HAVE_CAIRO_PNG) diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 314c848c..1c3ebcb1 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -33,8 +33,6 @@ if (HAVE_CAIRO) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} - SYSTEM - ${CAIRO_INCLUDE_DIRS} ) add_definitions(${CAIRO_CFLAGS}) add_executable(pdftocairo ${pdftocairo_SOURCES}) |