-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CATKIN_SYMLINK_INSTALL with add_subdirectory() (#1102)
* Fix CATKIN_SYMLINK_INSTALL with add_subdirectory() catkin_symlink_install_files/directory/programs() use generated functions that store the value of CMAKE_CURRENT_SOURCE_DIR at the time they are generated. This value is incorrect when install() rules are called from a directory using `add_subdirectory()` as is the case in gencpp. This fixes the issue by passing the current source directory to the generated functions at the time that they're called. Signed-off-by: Shane Loretz<sloretz@openrobotics.org> Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> * Document CURRENT_SOURCE_DIR arg and alphabetical order Signed-off-by: Shane Loretz <sloretz@osrfoundation.org> * Quote to avoid variable expansion Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
- Loading branch information
1 parent
3e1c655
commit 77ca28c
Showing
4 changed files
with
18 additions
and
9 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
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