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

use relative paths so CMAKE_INSTALL_PREFIX works #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PacificViking
Copy link

This helps with building packages (you can now build an RPM package without modifying the CMake files).

@3v1n0
Copy link

3v1n0 commented Jan 7, 2025

Not sure this is fully correct, since using this patch in debian, leads to having files being installed in /usr/usr/bin for example... 🤔

@PacificViking
Copy link
Author

Not sure this is fully correct, since using this patch in debian, leads to having files being installed in /usr/usr/bin for example... 🤔

It's been a year since I made this issue so I may be wrong, but if your CMAKE_INSTALL_PREFIX is "/usr" this would happen. However, this means you do not intend to install anything outside of /usr, which prevents libraries from being put into /lib. Set your CMAKE_INSTALL_PREFIX to "/" or unset it and see what happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants