Skip to content

Commit

Permalink
chore: add workaround for octomap
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
  • Loading branch information
Daisuke Nishimatsu committed May 12, 2022
1 parent a242f90 commit cfe4783
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ endif()

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()
find_package(OCTOMAP REQUIRED)

ament_auto_add_library(${PROJECT_NAME} SHARED
src/conversions.cpp
)

target_include_directories(${PROJECT_NAME}
PUBLIC
${OCTOMAP_INCLUDE_DIRS}
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
Expand Down

0 comments on commit cfe4783

Please sign in to comment.