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. The handling of CMAKE_INSTALL_DOCDIR is more complex but similarly faulty. This leads to broken .pc files on NixOS in particular.
As per title:
cmake/FindCTargets.cmake
hasand so can’t handle absolute paths in
CMAKE_INSTALL_{INCLUDE,LIB}DIR
. The handling ofCMAKE_INSTALL_DOCDIR
is more complex but similarly faulty. This leads to broken .pc files on NixOS in particular.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: