-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix assumptions that CMAKE_INSTALL_*DIR variables are relative
The CMAKE_INSTALL_*DIR variables are allowed to be absolute paths, which allows libraries and headers to be installed into separate prefixes. This means they cannot be naively concatenated with CMAKE_INSTALL_PREFIX. If an absolute path is needed, CMAKE_INSTALL_FULL_*DIR should be used, while more complicated handling is required to keep ${prefix} interpolation in pkg-config files in the case where CMAKE_INSTALL_*DIR is relative. Signed-off-by: Ben Wolsieffer <[email protected]>
- Loading branch information
1 parent
4d6942f
commit 3ff967e
Showing
3 changed files
with
14 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