From d2c3cc34d17c539153494725181ac5a48da058fd Mon Sep 17 00:00:00 2001 From: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> Date: Thu, 28 Nov 2024 01:20:59 -0700 Subject: [PATCH] Fix terrain_planner export missing dependencies Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> --- terrain_planner/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/terrain_planner/CMakeLists.txt b/terrain_planner/CMakeLists.txt index 4019c4ca..4ec06506 100644 --- a/terrain_planner/CMakeLists.txt +++ b/terrain_planner/CMakeLists.txt @@ -33,7 +33,7 @@ find_package(geometry_msgs REQUIRED) find_package(grid_map_msgs REQUIRED) find_package(tf2_geometry_msgs REQUIRED) -find_package(Boost REQUIRED COMPONENTS serialization system filesystem) +find_package(Boost REQUIRED) find_package(Eigen3 REQUIRED) find_package(OpenCV REQUIRED) find_package(ompl REQUIRED) @@ -74,6 +74,7 @@ ament_target_dependencies(${PROJECT_NAME} PUBLIC grid_map_core grid_map_geo terrain_navigation + Boost ) # Executables @@ -176,6 +177,12 @@ install(DIRECTORY DESTINATION share/${PROJECT_NAME}/ ) +ament_export_dependencies( + Boost + tf2_geometry_msgs + tf2_eigen +) + # Test if(BUILD_TESTING) find_package(ament_cmake_gtest REQUIRED)