Skip to content

Commit

Permalink
fix: build v0.5.5 (#835)
Browse files Browse the repository at this point in the history
* fix: build lanelet2_extention

Signed-off-by: Azumi Suzuki <[email protected]>

* fix: build planner

Signed-off-by: Azumi Suzuki <[email protected]>

* fix: build perception

Signed-off-by: Azumi Suzuki <[email protected]>

---------

Signed-off-by: Azumi Suzuki <[email protected]>
  • Loading branch information
s-azumi authored Sep 14, 2023
1 parent 6582032 commit 867207f
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions map/lanelet2_extension/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ target_link_libraries(lanelet2_extension_lib
${GeographicLib_LIBRARIES}
)

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

ament_auto_add_executable(lanelet2_extension_sample src/sample_code.cpp)
add_dependencies(lanelet2_extension_sample lanelet2_extension_lib)
target_link_libraries(lanelet2_extension_sample
Expand Down Expand Up @@ -75,6 +81,10 @@ if(BUILD_TESTING)
target_link_libraries(utilities-test lanelet2_extension_lib)
ament_add_ros_isolated_gtest(route-test test/src/test_route_checker.cpp)
target_link_libraries(route-test lanelet2_extension_lib)
target_include_directories(utilities-test
SYSTEM PRIVATE
${lanelet2_core_INCLUDE_DIRECTORIES}
)
endif()

ament_auto_package()
6 changes: 6 additions & 0 deletions perception/crosswalk_traffic_light_estimator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ rclcpp_components_register_node(crosswalk_traffic_light_estimator
EXECUTABLE crosswalk_traffic_light_estimator_node
)

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

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
Expand Down
6 changes: 6 additions & 0 deletions perception/map_based_prediction/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ rclcpp_components_register_node(map_based_prediction_node
EXECUTABLE map_based_prediction
)

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

ament_auto_package(
INSTALL_TO_SHARE
config
Expand Down
6 changes: 6 additions & 0 deletions perception/traffic_light_map_based_detector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ rclcpp_components_register_node(traffic_light_map_based_detector
EXECUTABLE traffic_light_map_based_detector_node
)

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

ament_auto_package(INSTALL_TO_SHARE
launch
config
Expand Down
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 @@ -13,6 +13,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 867207f

Please sign in to comment.