-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CMAKE_INSTALL_FULL_* for absolute paths
Instead of using a combination of CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_<dirname>, we should use CMAKE_INSTALL_FULL_<dirname>. If the CMAKE_INSTALL_<dirname> is an absolute path (e.g. in NixOS), then prefixing it with another absolute path would be incorrect. CMAKE_INSTALL_FULL_<dirname> already handles the case if CMAKE_INSTALL_<dirname> is an absolute path. See: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html Signed-off-by: Daniel Fullmer <[email protected]>
- Loading branch information
1 parent
61a2ff9
commit c84a48c
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters