CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0bda8bb8eda838316a61238441665abfd24eb020
Author: Oliver Sander <[email protected]>
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)
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler