Tobias Frost created LOGCXX-536:
-----------------------------------
Summary: CMakeLists.txt install pgkconfig and cmake modue to wrong
place
Key: LOGCXX-536
URL: https://issues.apache.org/jira/browse/LOGCXX-536
Project: Log4cxx
Issue Type: Bug
Components: Build
Affects Versions: 0.12.1, 0.12.0, 0.11.0
Reporter: Tobias Frost
While packaging 0.12.1 for Debian I observed that the install target for the
pkgconfig files and the cmake modules is set to ${CMAKE_INSTALL_DATAROOTDIR},
which is usually $PREFIX/share.
However, those files should be installed to ${CMAKE_INSTALL_LIBDIR} (e.g
$PREFIX/lib/...), as this is the place where cmake and pkgconfig will look for
them.
I have a patch ready, I will submit a PR later. The patch is available at:
[https://salsa.debian.org/debian/log4cxx/-/blob/debian/experimental/debian/patches/0001-Fix-pkgconfig-cmake-module-install-path.patch]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)