[Poppler-bugs] [Bug 102551] poppler fails to build
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Sep 7 13:43:02 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102551
--- Comment #8 from oliver.sander at tu-dresden.de ---
I asked my local cmake guru. Here's what he found:
I do not have the cairo dev headers installed. However, the cmake code that
determines the glib flags
macro_optional_find_package(GLIB)
(in CMakeLists.txt:163) is hidden behind
if(CAIRO_FOUND)
(in CMakeLists.txt:156), and therefore not executed on my machine.
I can hack my way around this problem, e.g., with
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -175,6 +175,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)
but that's probably not a good general solution.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170907/eb7c2584/attachment.html>
More information about the Poppler-bugs
mailing list