Closed nuclearsandwich closed 5 years ago
I've updated this PR to use the HAS_LIBRARY_TARGET option per this comment on a related PR rather than ament_export_libraries as all I needed was the environment hook to be set.
I swapped rather than did both since I think it's reasonable to make the minimal change unless maintainers prefer otherwise.
There was no reason that this didn't get merged, it just fell through the cracks. There have been no changes to the ros2
since this PR was opened so I'm just going to merge it.
Add
ament_export_libraries
call to export the library and set necessary environment hooks. This package is one of a handful which installs libraries without setting an environment hook to add them to the platform library path.Connects to ros2/ros_workspace#10