Skip to content

Commit

Permalink
Fix terrain_planner export missing dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Nov 28, 2024
1 parent bee8024 commit d2c3cc3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion terrain_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -74,6 +74,7 @@ ament_target_dependencies(${PROJECT_NAME} PUBLIC
grid_map_core
grid_map_geo
terrain_navigation
Boost
)

# Executables
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d2c3cc3

Please sign in to comment.