You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and so can’t handle absolute paths in CMAKE_INSTALL_{INCLUDE,LIB}DIR. This leads to broken .pc files on NixOS in particular. (Using prefix and not exec_prefix to derive libdir also seems a bit suspect, but is not the problem here.)
I did not want to promise anything, but I could get around to fixing this in the end :) I’d appreciate it if you double-checked that I didn’t break anything.
As per title:
CMakeLists.txt
hasand so can’t handle absolute paths in
CMAKE_INSTALL_{INCLUDE,LIB}DIR
. This leads to broken .pc files on NixOS in particular. (Usingprefix
and notexec_prefix
to derivelibdir
also seems a bit suspect, but is not the problem here.)See “Concatenating paths when building pkg-config files” for a thorough discussion of the problem and a suggested fix, or KDE’s extra-cmake-modules for a simpler approach.
The text was updated successfully, but these errors were encountered: