Skip to content
Snippets Groups Projects
Unverified Commit b7270d22 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #83 from nim65s/devel

[CMake] fix octomap detection
parents c83a604f 7c29dc9d
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ endif () ...@@ -75,7 +75,7 @@ endif ()
search_for_boost() search_for_boost()
# Optional dependencies # Optional dependencies
add_optional_dependency("octomap >= 1.6") add_optional_dependency("octomap >= 1.6")
if (OCTOMAP_INCLUDE_DIRS AND OCTOMAP_LIBRARY_DIRS) if (OCTOMAP_FOUND)
include_directories(SYSTEM ${OCTOMAP_INCLUDE_DIRS}) include_directories(SYSTEM ${OCTOMAP_INCLUDE_DIRS})
link_directories(${OCTOMAP_LIBRARY_DIRS}) link_directories(${OCTOMAP_LIBRARY_DIRS})
SET(HPP_FCL_HAVE_OCTOMAP TRUE) SET(HPP_FCL_HAVE_OCTOMAP TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment