set(_proj_name pdal) set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}") ExternalProject_Add(${_proj_name} DEPENDS hexer PREFIX ${_SB_BINARY_DIR} TMP_DIR ${_SB_BINARY_DIR}/tmp STAMP_DIR ${_SB_BINARY_DIR}/stamp #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} URL https://github.com/PDAL/PDAL/archive/e881b581e3b91a928105d67db44c567f3b6d1afe.tar.gz URL_MD5 cadbadf1c83d69d6525cfffd41473323 #--Update/Patch step---------- UPDATE_COMMAND "" #--Configure step------------- SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name} CMAKE_ARGS -BUILD_PGPOINTCLOUD_TESTS=OFF -BUILD_PLUGIN_PCL=ON -BUILD_PLUGIN_PGPOINTCLOUD=ON -DBUILD_PLUGIN_CPD=OFF -DBUILD_PLUGIN_GREYHOUND=OFF -DBUILD_PLUGIN_HEXBIN=ON -DBUILD_PLUGIN_ICEBRIDGE=OFF -DBUILD_PLUGIN_MRSID=OFF -DBUILD_PLUGIN_NITF=OFF -DBUILD_PLUGIN_OCI=OFF -DBUILD_PLUGIN_P2G=OFF -DBUILD_PLUGIN_SQLITE=OFF -DBUILD_PLUGIN_RIVLIB=OFF -DBUILD_PLUGIN_PYTHON=OFF -DENABLE_CTEST=OFF -DWITH_APPS=ON -DWITH_LAZPERF=OFF -DWITH_GEOTIFF=ON -DWITH_LASZIP=ON -DWITH_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR} #--Build step----------------- BINARY_DIR ${_SB_BINARY_DIR} #--Install step--------------- INSTALL_DIR ${SB_INSTALL_DIR} #--Output logging------------- LOG_DOWNLOAD OFF LOG_CONFIGURE OFF LOG_BUILD OFF )