kopia lustrzana https://github.com/OpenDroneMap/ODM
CMake changes
rodzic
59771b4962
commit
7bc5d1722d
|
@ -7,14 +7,7 @@ ExternalProject_Add(${_proj_name}
|
||||||
STAMP_DIR ${_SB_BINARY_DIR}/stamp
|
STAMP_DIR ${_SB_BINARY_DIR}/stamp
|
||||||
#--Download step--------------
|
#--Download step--------------
|
||||||
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
|
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
|
||||||
|
URL https://github.com/PointCloudLibrary/pcl/archive/refs/tags/pcl-1.11.1.zip
|
||||||
# PCL 1.8 + Fix for loading large point clouds https://github.com/OpenDroneMap/pcl/commit/924ab1137fbfa3004f222fb0834e3d66881ec057
|
|
||||||
URL https://github.com/OpenDroneMap/pcl/archive/master.zip
|
|
||||||
|
|
||||||
#-- TODO: Use PCL 1.9.1 when we upgrade to a newer version of Ubuntu. Currently
|
|
||||||
#-- it's troublesome to compile due to the older version of Boost shipping with 16.04.
|
|
||||||
#-- URL https://github.com/PointCloudLibrary/pcl/archive/pcl-1.9.1.tar.gz
|
|
||||||
|
|
||||||
#--Update/Patch step----------
|
#--Update/Patch step----------
|
||||||
UPDATE_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
#--Configure step-------------
|
#--Configure step-------------
|
||||||
|
@ -35,6 +28,8 @@ ExternalProject_Add(${_proj_name}
|
||||||
-DBUILD_tools=OFF
|
-DBUILD_tools=OFF
|
||||||
-DBUILD_tracking=OFF
|
-DBUILD_tracking=OFF
|
||||||
-DBUILD_visualization=OFF
|
-DBUILD_visualization=OFF
|
||||||
|
-DWITH_OPENGL=OFF
|
||||||
|
-DWITH_VTK=OFF
|
||||||
-DWITH_QT=OFF
|
-DWITH_QT=OFF
|
||||||
-DBUILD_OPENNI=OFF
|
-DBUILD_OPENNI=OFF
|
||||||
-DBUILD_OPENNI2=OFF
|
-DBUILD_OPENNI2=OFF
|
||||||
|
@ -47,6 +42,8 @@ ExternalProject_Add(${_proj_name}
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DPCL_VERBOSITY_LEVEL=Error
|
-DPCL_VERBOSITY_LEVEL=Error
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
|
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
|
||||||
|
-DPCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32=ON
|
||||||
|
${WIN32_CMAKE_ARGS}
|
||||||
#--Build step-----------------
|
#--Build step-----------------
|
||||||
BINARY_DIR ${_SB_BINARY_DIR}
|
BINARY_DIR ${_SB_BINARY_DIR}
|
||||||
#--Install step---------------
|
#--Install step---------------
|
||||||
|
|
|
@ -9,7 +9,6 @@ set(OPENCV_DIR "OPENCV_DIR-NOTFOUND" CACHE "OPENCV_DIR" "Path to the OPENCV inst
|
||||||
add_definitions(-Wall -Wextra)
|
add_definitions(-Wall -Wextra)
|
||||||
|
|
||||||
# Find pcl at the location specified by PCL_DIR
|
# Find pcl at the location specified by PCL_DIR
|
||||||
find_package(VTK 6.0 REQUIRED)
|
|
||||||
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8" REQUIRED)
|
find_package(PCL 1.8 HINTS "${PCL_DIR}/share/pcl-1.8" REQUIRED)
|
||||||
find_package(GDAL REQUIRED)
|
find_package(GDAL REQUIRED)
|
||||||
include_directories(${GDAL_INCLUDE_DIR})
|
include_directories(${GDAL_INCLUDE_DIR})
|
||||||
|
|
|
@ -5,4 +5,13 @@ tbb
|
||||||
zlib
|
zlib
|
||||||
libpng
|
libpng
|
||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
tiff
|
tiff
|
||||||
|
flann
|
||||||
|
boost-filesystem
|
||||||
|
boost-date-time
|
||||||
|
boost-iostreams
|
||||||
|
boost-foreach
|
||||||
|
boost-signals2
|
||||||
|
boost-interprocess
|
||||||
|
boost-graph
|
||||||
|
boost-asio
|
||||||
|
|
Ładowanie…
Reference in New Issue