Skip to content

Commit

Permalink
Export all dependencies (#183) (#184)
Browse files Browse the repository at this point in the history
The ament_export_dependencies exports dependencies to downstream
packages. This is necessary so that the user of the library does
not have to call find_package for those dependencies.

(cherry picked from commit 47255ae)

Co-authored-by: Adrian Zwiener <a.zwiener@rethinkrobotics.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
  • Loading branch information
3 people committed May 16, 2023
1 parent 49ad216 commit 0521c13
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions gazebo_ros2_control/CMakeLists.txt
Expand Up @@ -62,8 +62,18 @@ ament_export_include_directories(
include
)

ament_export_dependencies(ament_cmake)
ament_export_dependencies(rclcpp)
ament_export_dependencies(
ament_cmake
angles
controller_manager
gazebo_dev
gazebo_ros
hardware_interface
pluginlib
rclcpp
yaml_cpp_vendor
)

ament_export_libraries(
${PROJECT_NAME}
gazebo_hardware_plugins
Expand Down

0 comments on commit 0521c13

Please sign in to comment.