From e35e31c131126708fd54ed505e29c3cc10b6b801 Mon Sep 17 00:00:00 2001 From: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com> Date: Mon, 25 Apr 2022 00:52:33 +0900 Subject: [PATCH] fix(map_loader): modify build error in rolling (#777) Signed-off-by: wep21 --- map/map_loader/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/map/map_loader/CMakeLists.txt b/map/map_loader/CMakeLists.txt index a59094efc7870..f48ced30d275c 100644 --- a/map/map_loader/CMakeLists.txt +++ b/map/map_loader/CMakeLists.txt @@ -21,6 +21,11 @@ ament_auto_add_library(pointcloud_map_loader_node SHARED ) target_link_libraries(pointcloud_map_loader_node ${PCL_LIBRARIES}) +target_include_directories(pointcloud_map_loader_node + SYSTEM PUBLIC + ${PCL_INCLUDE_DIRS} +) + rclcpp_components_register_node(pointcloud_map_loader_node PLUGIN "PointCloudMapLoaderNode" EXECUTABLE pointcloud_map_loader