-
Notifications
You must be signed in to change notification settings - Fork 274
pkg-config file is broken when CMAKE_INSTALL_INCLUDEDIR is absolute #282
New issue
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
Comments
Is there a specific way you'd like to see this fixed, or do you have a PR you could propose? |
|
Sorry turns out I was wrong. I'll make a PR to fix this for spirv-headers and spirv-tools. Link to CMake docs:
The main line of focus being:
|
Thanks for reporting this @alexshpilkin sorry for being wrong initially. This is now fixed and tested as part of the CI process. |
As per title:
SPIRV-Headers.pc.in
hasand so can’t handle absolute paths in
CMAKE_INSTALL_INCLUDEDIR
. This leads to broken .pc files on NixOS in particular.Morally identical to KhronosGroup/SPIRV-Tools#3905. 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: