[poppler] test/CMakeLists.txt

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 25 16:05:18 UTC 2022


 test/CMakeLists.txt |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 7c822d062fe5602475f82746d0fd5961a70a831a
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed May 25 17:59:26 2022 +0200

    test: Fix finding cairo headers on compile time

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 258ef20c..4d57f665 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -45,6 +45,11 @@ 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)


More information about the poppler mailing list