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

CMake: Fix pkgconf install path in symbolic link #189

Merged
merged 1 commit into from
May 30, 2024

Conversation

elykwilliams
Copy link
Contributor

@elykwilliams elykwilliams commented May 26, 2024

Fix pkgconf install path in symbolic link

Closes issue #187.

Proposed changes:
The CMAKE_INSTALL_PATH was being set an configure time and not using the value present at install time. This change will allow all supported cmake versions to specify the install prefix when installing via cmake --install . --prefix=/path/to/install.

Note that this change will cause cmake to issue a fatal error and abort install if the symbolic link is not created, instead of failing passively as before.

@elykwilliams elykwilliams changed the base branch from master to develop May 26, 2024 14:04
@elykwilliams elykwilliams changed the title Cmake: Fix pkgconf install path in symblic link CMake: Fix pkgconf install path in symblic link May 26, 2024
@elykwilliams elykwilliams changed the title CMake: Fix pkgconf install path in symblic link CMake: Fix pkgconf install path in symbolic link May 26, 2024
@cburstedde
Copy link
Owner

Thanks! So far we had not given the pkgconfig support much coverage. If we were eventually to arrive at installed .pc files that actually work the way Linux distributions need it to, and are identical between autotools and CMake, that would be another major step forward.

@cburstedde
Copy link
Owner

We may augment our CI eventually to check into the generated .pc contents.

@cburstedde cburstedde merged commit 22abf1f into cburstedde:develop May 30, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants