ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From my understanding and a bit of experimentation, ament_target_dependencies only works for packages* found using find_package. For packages that aren't coming from find_package, e.g. locally compiled libraries in the same package, you will need to use target_link_libraries. See this question for more details.

* Not sure if it's only for ROS packages found with find_package, or if it works for any package found that way.