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

CMakeLists.txt: use CMAKE_INSTALL_FULL_* to support absolute paths in CMAKE_INSTALL_* #54

Merged
merged 2 commits into from
Dec 11, 2023
Merged

CMakeLists.txt: use CMAKE_INSTALL_FULL_* to support absolute paths in CMAKE_INSTALL_* #54

merged 2 commits into from
Dec 11, 2023

Conversation

veprbl
Copy link
Contributor

@veprbl veprbl commented Dec 10, 2023

I have another small fix for a more obscure problem. This is for packaging setups where cmake is told to use full absolute installation paths (e.g. covers splitting devel and user packages).

CMAKE_INSTALL_* variables may be set to absolute paths, hence concatenating with CMAKE_INSTALL_PREFIX is not always valid.

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

… CMAKE_INSTALL_*

CMAKE_INSTALL_* variables may be set to absolute paths, hence
concatenating with CMAKE_INSTALL_PREFIX is not always valid.

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
@scarrazza
Copy link
Owner

Thanks @veprbl.

@scarrazza scarrazza merged commit 575fb2d into scarrazza:master Dec 11, 2023
2 checks passed
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