Added pdal optional dependency (export to LAS, E57, ...)

This commit is contained in:
matlabbe
2021-01-14 15:49:18 -05:00
parent eae5f2b428
commit 0bc483b6d3
6 changed files with 497 additions and 13 deletions

View File

@@ -416,6 +416,25 @@ IF(FastCV_FOUND)
)
ENDIF(FastCV_FOUND)
IF(PDAL_FOUND)
SET(INCLUDE_DIRS
${INCLUDE_DIRS}
${PDAL_INCLUDE_DIRS}
)
SET(LIBRARIES
${LIBRARIES}
${PDAL_LIBRARIES}
)
SET(SRC_FILES
${SRC_FILES}
PDALWriter.cpp
)
IF(PDAL_VERSION VERSION_LESS "1.7")
add_definitions("-DRTABMAP_PDAL_16")
ENDIF(PDAL_VERSION VERSION_LESS "1.7")
ENDIF(PDAL_FOUND)
IF(loam_velodyne_FOUND)
SET(INCLUDE_DIRS
${INCLUDE_DIRS}