From 6fb86363dfeacd9ac720af42cdb933a7a2d7beac Mon Sep 17 00:00:00 2001 From: wep21 Date: Mon, 25 Apr 2022 01:45:57 +0900 Subject: [PATCH 1/2] fix(had_map_utils): modify build error in rolling Signed-off-by: wep21 --- common/had_map_utils/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/had_map_utils/CMakeLists.txt b/common/had_map_utils/CMakeLists.txt index 9667a8ceb530b..43c0e97f86c41 100644 --- a/common/had_map_utils/CMakeLists.txt +++ b/common/had_map_utils/CMakeLists.txt @@ -26,8 +26,12 @@ ament_auto_add_library(${PROJECT_NAME} SHARED src/had_map_visualization.cpp) # Disable warnings due to external dependencies (Eigen) +get_target_property(lanelet2_core_INCLUDE_DIR + lanelet2_core::lanelet2_core INTERFACE_INCLUDE_DIRECTORIES +) target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${EIGEN3_INCLUDE_DIR} + ${lanelet2_core_INCLUDE_DIR} ${rclcpp_INCLUDE_DIRS} ) From e820b3a4c392a2bd5cb8256e55334fe70d6357a3 Mon Sep 17 00:00:00 2001 From: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Date: Mon, 25 Apr 2022 10:49:57 +0900 Subject: [PATCH 2/2] update comment in CMakeLists.txt Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> --- common/had_map_utils/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/had_map_utils/CMakeLists.txt b/common/had_map_utils/CMakeLists.txt index 43c0e97f86c41..442ab64d79cd5 100644 --- a/common/had_map_utils/CMakeLists.txt +++ b/common/had_map_utils/CMakeLists.txt @@ -25,7 +25,7 @@ ament_auto_add_library(${PROJECT_NAME} SHARED src/had_map_query.cpp src/had_map_visualization.cpp) -# Disable warnings due to external dependencies (Eigen) +# Disable warnings due to external dependencies get_target_property(lanelet2_core_INCLUDE_DIR lanelet2_core::lanelet2_core INTERFACE_INCLUDE_DIRECTORIES )