[poppler] test/CMakeLists.txt utils/CMakeLists.txt
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Dec 4 10:47:17 UTC 2022
test/CMakeLists.txt | 5 -----
utils/CMakeLists.txt | 2 --
2 files changed, 7 deletions(-)
New commits:
commit 6a19713ca8473c14905bd25d719757df5987d93b
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Dec 4 11:43:16 2022 +0100
cmake: A more bit of include tweaking
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})
More information about the poppler
mailing list