Skip to content

Commit

Permalink
Export all dependencies (#183)
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.
  • Loading branch information
AdrianZw committed Feb 27, 2023
1 parent 6f84853 commit 47255ae
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions gazebo_ros2_control/CMakeLists.txt
Original file line number Diff line number Diff line change
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 47255ae

Please sign in to comment.