[Poppler-bugs] [Bug 103211] New: cmake: don't hardcode libdir
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 11 08:56:22 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103211
Bug ID: 103211
Summary: cmake: don't hardcode libdir
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: pochu27 at gmail.com
Hi,
Looking at poppler 0.60.1, I saw that it removes the autotools build system,
and it looks like the cmake build system hardcodes libdir to
${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}
Unfortunately that's not good in all situations. E.g. in Debian we have
multiarch directories, so libraries go in /usr/lib/<triplet>/. I could do that
with autotools by setting --libdir (which our tooling does automatically) but I
can't do it anymore in the cmake build system.
I hear there's a GNUInstallDirs cmake thing that sets some stuff, e.g.
CMAKE_INSTALL_LIBDIR. Would it be possible to use that so that the libdir can
be controlled?
https://cmake.org/cmake/help/v3.3/module/GNUInstallDirs.html
--
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/20171011/66d9f0e0/attachment-0001.html>
More information about the Poppler-bugs
mailing list