<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - poppler fails to build"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102551#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - poppler fails to build"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102551">bug 102551</a>
              from <span class="vcard"><a class="email" href="mailto:oliver.sander@tu-dresden.de" title="oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>