-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
gdal.pc
contains wrong paths if CMAKE_INSTALL_<dir>
is absolute
#6004
Comments
13 tasks
We also have a large pr fixing other packages so you can use that as a reference NixOS/nixpkgs#172150 when fixing this issue |
rouault
added a commit
that referenced
this issue
Jul 5, 2022
CMake: fix gdal.pc and gdal-config generation when CMAKE_INSTALL_xxxx is an absolute path (fixes #6004)
rouault
added a commit
that referenced
this issue
Jul 7, 2022
[Backport release/3.5] CMake: fix gdal.pc and gdal-config generation when CMAKE_INSTALL_xxxx is an absolute path (fixes #6004)
g8sqh
pushed a commit
to g8sqh/gdal
that referenced
this issue
Aug 20, 2022
… is an absolute path (fixes OSGeo#6004)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior and actual behavior.
I'm building gdal on NixOS and obtaining the following in
lib/pkgconfig/gdal.pc
:I would expect
See also https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path.
This was not an issue when using autotools with GDAL 3.4.
Steps to reproduce the problem.
Run
nix-build -A gdal
on NixOS/nixpkgs#179406.Operating system
NixOS 22.11-pre
GDAL version and provenance
3.5.0.3 from GitHub tarball
The text was updated successfully, but these errors were encountered: