ros / resource_retriever

Package used to retrieve resources of different kinds, e.g. http://, file://, the ROS specific package://, etc.
8 stars 42 forks source link

Export resource retriever to enable hooks. #26

Closed nuclearsandwich closed 5 years ago

nuclearsandwich commented 6 years ago

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

nuclearsandwich commented 6 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.

nuclearsandwich commented 5 years ago

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.