Bug ID 1174581
Summary %cmake uses absolute path for CMAKE_INSTALL_LIBDIR
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee simonf.lees@suse.com
Reporter fvogt@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

According to https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html:
> LIBDIR object code libraries (lib or lib64 or lib/<multiarch-tuple> on Debian)

It is meant to contain the path below CMAKE_INSTALL_PREFIX, but currently
%cmake sets it to %{_libdir}, which evaluates to /usr/lib64.

This breaks several projects which use any variation of
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} or
libdir=$prefix/${CMAKE_INSTALL_LIBDIR} to generate .pc files.


You are receiving this mail because: