From 66a07d8656dfb91bbb39b3ca45378d7f51d44414 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Sat, 17 Feb 2024 12:25:03 -0700 Subject: [PATCH 1/2] Use old-style variables for filter include directories Signed-off-by: Ryan Friedman --- grid_map_cv/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/grid_map_cv/CMakeLists.txt b/grid_map_cv/CMakeLists.txt index 644b7389..f014863c 100644 --- a/grid_map_cv/CMakeLists.txt +++ b/grid_map_cv/CMakeLists.txt @@ -52,6 +52,12 @@ target_link_libraries(${PROJECT_NAME} PUBLIC ${sensor_msgs_TARGETS} ) +# Filters does not expose targets (yet) +target_include_directories(${PROJECT_NAME} + PUBLIC + ${filters_INCLUDE_DIRS} +) + ############# ## Install ## ############# From b18744764cec4bd165f0f7486f37282bafb79861 Mon Sep 17 00:00:00 2001 From: Ryan Friedman Date: Sat, 17 Feb 2024 12:25:49 -0700 Subject: [PATCH 2/2] Add link to upstream ticket Signed-off-by: Ryan Friedman --- grid_map_cv/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/grid_map_cv/CMakeLists.txt b/grid_map_cv/CMakeLists.txt index f014863c..a64522fd 100644 --- a/grid_map_cv/CMakeLists.txt +++ b/grid_map_cv/CMakeLists.txt @@ -53,6 +53,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC ) # Filters does not expose targets (yet) +# https://github.com/ros/filters/pull/70 target_include_directories(${PROJECT_NAME} PUBLIC ${filters_INCLUDE_DIRS}