[poppler] CMakeLists.txt

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Sep 7 17:56:06 UTC 2017


 CMakeLists.txt |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0bda8bb8eda838316a61238441665abfd24eb020
Author: Oliver Sander <oliver.sander at tu-dresden.de>
Date:   Thu Sep 7 19:55:54 2017 +0200

    Disable glib if cairo is not found

diff --git a/CMakeLists.txt b/CMakeLists.txt
index aedf1c0f..c094d5ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,6 +176,7 @@ if(CAIRO_FOUND)
   endif()
 else()
   set(CAIRO_FEATURE "#undef POPPLER_HAS_CAIRO")
+  set(ENABLE_GLIB OFF)
 endif()
 if(ENABLE_CPP)
   macro_optional_find_package(Iconv)


More information about the poppler mailing list