Skip to content
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

[wontfix][>=2.3.0] Autotools: Generated CMake config does not respect --includedir --libdir #501

Open
veprbl opened this issue Jul 3, 2021 · 1 comment

Comments

@veprbl
Copy link

veprbl commented Jul 3, 2021

The autotools configuration allows to specify different absolute paths for various components:

./configure --prefix=/foo --includedir=/bar/include --libdir=/baz/lib

This is a feature that we use in nixpkgs to separate runtime and development parts of packages. Unfortunately, this is currently producing a cmake config file that reports invalid paths.

Downstream issues NixOS/nixpkgs#129092 NixOS/nixpkgs#128997

@veprbl veprbl changed the title cmake Generated cmake config does not respect --includedir --libdir Jul 3, 2021
@hartwork
Copy link
Member

hartwork commented Jul 4, 2021

Confirming for --includedir= and (for some cases) of --libdir=. A clean universal fix is not trivial and the issue can be worked around on packaging level (downstream) rather easily, so it's not very high priority right now.

@hartwork hartwork changed the title Generated cmake config does not respect --includedir --libdir [>=2.3.0] Autotools: Generated CMake config does not respect --includedir --libdir Jul 4, 2021
@hartwork hartwork pinned this issue Apr 7, 2023
@hartwork hartwork changed the title [>=2.3.0] Autotools: Generated CMake config does not respect --includedir --libdir [wontfix][>=2.3.0] Autotools: Generated CMake config does not respect --includedir --libdir May 24, 2023
@hartwork hartwork unpinned this issue Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants