[Poppler-bugs] [Bug 103593] New: [PATCH] CMake: make FindLCMS.cmake cross-aware
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 6 16:42:32 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103593
Bug ID: 103593
Summary: [PATCH] CMake: make FindLCMS.cmake cross-aware
Product: poppler
Version: unspecified
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: r.hieber at pengutronix.de
Created attachment 135262
--> https://bugs.freedesktop.org/attachment.cgi?id=135262&action=edit
CMake: make FindLCMS.cmake cross-compatible
Hi,
FindLCMS.make currently complains when being run in cross-compile mode:
-- Checking for module 'lcms'
-- Found lcms, version 1.19
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the
following cache variables appropriately:
LCMS_VERSION (advanced)
LCMS_VERSION__TRYRUN_OUTPUT (advanced)
For details see [...]/poppler-0.60.1-build/TryRunResults.cmake
-- Found lcms version P.LE, [...]/sysroot-target/usr/lib/liblcms.so
I don't know why it complains if it obviously detected the correct version :),
but here is a patch that replaces `try_run(..)` with the version parsing regex
from FindLCMS2.make which only needs to read the header file.
(Yes, I'm still building with the old lcms1... some embedded systems seem to
run forever.)
--
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/20171106/a7759ade/attachment-0001.html>
More information about the Poppler-bugs
mailing list