Skip to content

Commit

Permalink
fix(planning): fix build error (autowarefoundation#591)
Browse files Browse the repository at this point in the history
Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>
  • Loading branch information
sfukuta authored Jun 20, 2023
1 parent e0e6d0c commit 5a1be89
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
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
)

0 comments on commit 5a1be89

Please sign in to comment.