Skip to content

Commit

Permalink
workaround to include conversions.h
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 committed Nov 8, 2024
1 parent abfec57 commit 43807ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions grid_map_demos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ ament_target_dependencies(
octomap_msgs
)

foreach(dir IN LISTS octomap_msgs_INCLUDE_DIRS)
if(dir MATCHES ".*octomap_msgs.*")
get_filename_component(PARENT "${dir}" DIRECTORY)
target_include_directories(octomap_to_gridmap_demo
PRIVATE
${PARENT}
)
endif()
endforeach()

ament_target_dependencies(
move_demo SYSTEM
${dependencies}
Expand Down

0 comments on commit 43807ef

Please sign in to comment.