CMake: find octomap instead of OCTOMAP #529

This commit is contained in:
matlabbe
2020-04-18 16:03:09 -04:00
parent de4b17332d
commit 7cfc51315d
4 changed files with 11 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ SET(LIBRARIES
${PCL_LIBRARIES}
)
IF(OCTOMAP_FOUND)
IF(octomap_FOUND)
SET(INCLUDE_DIRS
${INCLUDE_DIRS}
${OCTOMAP_INCLUDE_DIRS}
@@ -33,7 +33,7 @@ IF(OCTOMAP_FOUND)
${LIBRARIES}
${OCTOMAP_LIBRARIES}
)
ENDIF(OCTOMAP_FOUND)
ENDIF(octomap_FOUND)
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})