Conversation
The curerrent implementation does not work on systems, like e.g.
Debian, where the pkgconfig file is installed in
"/usr/lib/x86_64-linux-gnu/pkgconfig/blosc2.pc".
Since the current implementation assumes "prefix=${pcfiledir}/../.."
(corretponding to "/user/lib" in this case), the path to include files
("includedir=${prefix}/include") results to be not correct.
The fix has been only tested on Debian.
8ba1026 to
ffd9ab3
Compare
|
Hi, thanks for noticing this, and yes it is absolutely necessary to fix this. What do you think of this proposal? |
|
Not sure |
|
What I put in my implementation exploits the same variable that are used in the |
|
From https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html:
|
Ok, let's go with your solution then I think. It was what we had before I made the breaking change. |
ah, sorry, I totally missed it |
|
I think the merged solution is fine, and reasonably robust. If in the future it causes problems we can revisit the discussion here I guess. Thanks very much! |
The curerrent implementation does not work on systems, like e.g. Debian, where the pkgconfig file is installed in
"/usr/lib/x86_64-linux-gnu/pkgconfig/blosc2.pc".
Since the current implementation assumes "prefix=${pcfiledir}/../.." (corretponding to "/user/lib" in this case), the path to include files ("includedir=${prefix}/include") results to be not correct.
The fix has been only tested on Debian.