octomap: use cmake target (#995)

This commit is contained in:
matlabbe
2023-03-18 14:19:16 -07:00
parent e66ea7b42b
commit ab99719a78

View File

@@ -568,13 +568,9 @@ IF(ZEDOC_FOUND)
ENDIF(ZEDOC_FOUND)
IF(octomap_FOUND)
SET(PUBLIC_INCLUDE_DIRS
${PUBLIC_INCLUDE_DIRS}
${OCTOMAP_INCLUDE_DIRS}
)
SET(PUBLIC_LIBRARIES
${PUBLIC_LIBRARIES}
${OCTOMAP_LIBRARIES}
octomap
)
SET(SRC_FILES
${SRC_FILES}