Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(planning): fix build error #591

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions planning/mission_planner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ rclcpp_components_register_node(mission_planner_node
EXECUTABLE mission_planner
)

get_target_property(lanelet2_core_INCLUDE_DIRECTORIES lanelet2_core::lanelet2_core INTERFACE_INCLUDE_DIRECTORIES)
target_include_directories(mission_planner_node
SYSTEM PRIVATE
${lanelet2_core_INCLUDE_DIRECTORIES}
)

ament_auto_add_library(goal_pose_visualizer_node SHARED
src/goal_pose_visualizer/goal_pose_visualizer.cpp
)
Expand Down
6 changes: 6 additions & 0 deletions planning/route_handler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ ament_auto_add_library(route_handler SHARED
src/route_handler.cpp
)

get_target_property(lanelet2_core_INCLUDE_DIRECTORIES lanelet2_core::lanelet2_core INTERFACE_INCLUDE_DIRECTORIES)
target_include_directories(route_handler
SYSTEM PRIVATE
${lanelet2_core_INCLUDE_DIRECTORIES}
)

ament_auto_package()
6 changes: 6 additions & 0 deletions planning/scenario_selector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ rclcpp_components_register_node(scenario_selector_node
EXECUTABLE scenario_selector
)

get_target_property(lanelet2_core_INCLUDE_DIRECTORIES lanelet2_core::lanelet2_core INTERFACE_INCLUDE_DIRECTORIES)
target_include_directories(scenario_selector_node
SYSTEM PRIVATE
${lanelet2_core_INCLUDE_DIRECTORIES}
)

ament_auto_package(INSTALL_TO_SHARE
launch
)