[poppler] cmake/modules

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Dec 4 03:08:55 UTC 2022


 cmake/modules/FindCairo.cmake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49a883dfac1a92fd959a1421627279aec26dcbb9
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Dec 4 03:57:01 2022 +0100

    cmake: Make sure cairo includes are complete

diff --git a/cmake/modules/FindCairo.cmake b/cmake/modules/FindCairo.cmake
index d536c051..f0d1466a 100644
--- a/cmake/modules/FindCairo.cmake
+++ b/cmake/modules/FindCairo.cmake
@@ -47,7 +47,7 @@ if(CAIRO_FOUND)
             HINTS ${_pc_cairo_INCLUDE_DIRS}
             PATH_SUFFIXES cairo
   )
-  set(CAIRO_INCLUDE_DIRS "${CAIRO_INCLUDE_DIR}")
+  set(CAIRO_INCLUDE_DIRS "${CAIRO_INCLUDE_DIR};${_pc_cairo_INCLUDE_DIRS}")
 
   include(FindPackageHandleStandardArgs)
   find_package_handle_standard_args(Cairo DEFAULT_MSG CAIRO_LIBRARIES CAIRO_INCLUDE_DIRS)


More information about the poppler mailing list