Open alexshpilkin opened 2 years ago
As per title: ebur128/libebur128.pc.cmake has
ebur128/libebur128.pc.cmake
prefix=@CMAKE_INSTALL_PREFIX@ includedir=${prefix}/include libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
and so can’t handle an absolute path in CMAKE_INSTALL_LIBDIR. This leads to a broken .pc file on NixOS in particular.
CMAKE_INSTALL_LIBDIR
Similar to https://github.com/open-source-parsers/jsoncpp/pull/1199. See “Concatenating paths when building pkg-config files” for a discussion of the problem and a suggested fix (I don’t know CMake myself, sorry).
As per title:
ebur128/libebur128.pc.cmake
hasand so can’t handle an absolute path in
CMAKE_INSTALL_LIBDIR
. This leads to a broken .pc file on NixOS in particular.Similar to https://github.com/open-source-parsers/jsoncpp/pull/1199. See “Concatenating paths when building pkg-config files” for a discussion of the problem and a suggested fix (I don’t know CMake myself, sorry).