-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce relocatable AMENT_IMPORT_PREFIX
This moves the logic to compute the install prefix to a single location in the main config file. Extra config files can use the new AMENT_IMPORT_PREFIX variable, which simplifies the code and makes it more robust to future changes. The logic to compute AMENT_IMPORT_PREFIX has been taken from the CMakePackageConfigHelpers module. The code is well-tested and also handles symlink aliasing. Signed-off-by: Timo Röhling <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 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