<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CMake: ENABLE_GLIB vs. WITH_GLIB"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103590">103590</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CMake: ENABLE_GLIB vs. WITH_GLIB
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>r.hieber@pengutronix.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=135254" name="attach_135254" title="CMake: remove ENABLE_GLIB in favour of WITH_GLIB from macro_optional_find_package(GLIB)">attachment 135254</a> <a href="attachment.cgi?id=135254&action=edit" title="CMake: remove ENABLE_GLIB in favour of WITH_GLIB from macro_optional_find_package(GLIB)">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=103590&attachment=135254'>[review]</a>
CMake: remove ENABLE_GLIB in favour of WITH_GLIB from
macro_optional_find_package(GLIB)

When configuring poppler 0.60.1 with ccmake, I can see both ENABLE_GLIB and
(further down) WITH_GLIB. As I understand the code, both of them need to be set
for GLIB to be used. Since WITH_GLIB is the guard used in
`macro_optional_find_package(GLIB)`, I think that `ENABLE_GLIB` can be spared.
See the attached patch, which works for me.</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>