diff --git a/nav2_controller/CMakeLists.txt b/nav2_controller/CMakeLists.txt index a93ad384d47..570671dade9 100644 --- a/nav2_controller/CMakeLists.txt +++ b/nav2_controller/CMakeLists.txt @@ -99,6 +99,7 @@ ament_export_libraries(simple_progress_checker simple_goal_checker stopped_goal_checker ${library_name}) +ament_export_dependencies(${dependencies}) pluginlib_export_plugin_description_file(nav2_core plugins.xml) ament_package() diff --git a/nav2_map_server/CMakeLists.txt b/nav2_map_server/CMakeLists.txt index 644060d5b0f..8ffe285cb7b 100644 --- a/nav2_map_server/CMakeLists.txt +++ b/nav2_map_server/CMakeLists.txt @@ -154,4 +154,5 @@ ament_export_libraries( ${library_name} ${map_io_library_name} ) +ament_export_dependencies(${map_io_dependencies} ${map_server_dependencies}) ament_package() diff --git a/nav2_recoveries/CMakeLists.txt b/nav2_recoveries/CMakeLists.txt index dfb8aaed811..9f7b716319a 100644 --- a/nav2_recoveries/CMakeLists.txt +++ b/nav2_recoveries/CMakeLists.txt @@ -126,5 +126,5 @@ ament_export_libraries(${library_name} nav2_spin_recovery nav2_wait_recovery ) - +ament_export_dependencies(${dependencies}) ament_package() diff --git a/nav2_waypoint_follower/CMakeLists.txt b/nav2_waypoint_follower/CMakeLists.txt index 9aaefed6c55..720bee0dd4d 100644 --- a/nav2_waypoint_follower/CMakeLists.txt +++ b/nav2_waypoint_follower/CMakeLists.txt @@ -98,8 +98,8 @@ if(BUILD_TESTING) endif() ament_export_include_directories(include) -ament_export_libraries(wait_at_waypoint photo_at_waypoint input_at_waypoint) - +ament_export_libraries(wait_at_waypoint photo_at_waypoint input_at_waypoint ${library_name}) +ament_export_dependencies(${dependencies}) pluginlib_export_plugin_description_file(nav2_waypoint_follower plugins.xml) ament_package()