[Poppler-bugs] [Bug 106329] New: FindLIBOPENJPEG.cmake checks wrong variable to avoid re-finding library

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 1 01:38:56 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106329

            Bug ID: 106329
           Summary: FindLIBOPENJPEG.cmake checks wrong variable to avoid
                    re-finding library
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: medium
         Component: cpp frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: walkerm930 at gmail.com

Created attachment 139240
  --> https://bugs.freedesktop.org/attachment.cgi?id=139240&action=edit
questionably useful patch

It seems that cmake/modules/FindLIBOPENJPEG.cmake checks
LIBOPENJPEG2_INCLUDE_DIR but sets LIBOPENJPEG2_INCLUDE_DIRS (note:
plural-ness), preventing the cmake cache from working correctly. The check
should be one the plural one, I believe.

A pretty trivial fix. I've tried doing the find+replace myself, and nothing
went wrong when building xournalpp. I attached a patch for this one-liner,
though it may be easier to just apply the change manually...

-- 
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/20180501/fcea9cf4/attachment.html>


More information about the Poppler-bugs mailing list