We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per title: CMakeLists.txt has
CMakeLists.txt
set(prefix ${CMAKE_INSTALL_PREFIX}) set(exec_prefix "\$\{prefix\}") set(libdir "\$\{prefix\}/${CMAKE_INSTALL_LIBDIR}") set(includedir "\$\{prefix\}/${CMAKE_INSTALL_INCLUDEDIR}")
and so can’t handle absolute paths in CMAKE_INSTALL_{INCLUDE,LIB}DIR. This leads to a broken .pc file on NixOS in particular.
CMAKE_INSTALL_{INCLUDE,LIB}DIR
Identical to Matroska-Org/libebml#97. Similar to open-source-parsers/jsoncpp#1199. See “Concatenating paths when building pkg-config files” for a discussion of the problem in a somewhat different context and a suggested fix (I don’t know CMake myself, sorry).
The text was updated successfully, but these errors were encountered:
keep the path for pkg-config path if they are absolute
1671ddc
Fixes #62
eab77a2
53f6ea5
Successfully merging a pull request may close this issue.
As per title:
CMakeLists.txt
hasand so can’t handle absolute paths in
CMAKE_INSTALL_{INCLUDE,LIB}DIR
. This leads to a broken .pc file on NixOS in particular.Identical to Matroska-Org/libebml#97. Similar to open-source-parsers/jsoncpp#1199. See “Concatenating paths when building pkg-config files” for a discussion of the problem in a somewhat different context and a suggested fix (I don’t know CMake myself, sorry).
The text was updated successfully, but these errors were encountered: