From 47255ae70342e1401bc4caff57db803046d3b095 Mon Sep 17 00:00:00 2001 From: Adrian Zwiener Date: Mon, 27 Feb 2023 10:00:27 +0100 Subject: [PATCH] Export all dependencies (#183) 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. --- gazebo_ros2_control/CMakeLists.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gazebo_ros2_control/CMakeLists.txt b/gazebo_ros2_control/CMakeLists.txt index 2440eaf1..1dffa02a 100644 --- a/gazebo_ros2_control/CMakeLists.txt +++ b/gazebo_ros2_control/CMakeLists.txt @@ -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