Skip to content

Commit cfe4783

Browse files
author
Daisuke Nishimatsu
committed
chore: add workaround for octomap
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
1 parent a242f90 commit cfe4783

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ endif()
1212

1313
find_package(ament_cmake_auto REQUIRED)
1414
ament_auto_find_build_dependencies()
15+
find_package(OCTOMAP REQUIRED)
1516

1617
ament_auto_add_library(${PROJECT_NAME} SHARED
1718
src/conversions.cpp
1819
)
1920

21+
target_include_directories(${PROJECT_NAME}
22+
PUBLIC
23+
${OCTOMAP_INCLUDE_DIRS}
24+
)
25+
2026
if(BUILD_TESTING)
2127
find_package(ament_lint_auto REQUIRED)
2228
ament_lint_auto_find_test_dependencies()

0 commit comments

Comments
 (0)