Commit df083ab4 authored by Pierre Guilbert's avatar Pierre Guilbert
Browse files

add ceres plugin

parent b9901737
......@@ -137,6 +137,13 @@ if (pcl_ENABLED)
include(qhull)
endif()
# If ceres has been enabled, include glog
include(ceres)
if (ceres_ENABLED)
message("CERES enabled, you will have to enable glog and eigen")
include(glog)
endif()
#Veloview
include(qt)
include(python)
......
add_external_project(ceres
DEPENDS eigen glog
CMAKE_ARGS
-DCMAKE_CXX_STANDARD=11
-DCMAKE_CXX_STANDARD_REQUIRED=true
-DEIGEN_INCLUDE_DIR=<INSTALL_DIR>/include/eigen3
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>/ceres
)
\ No newline at end of file
add_external_project(glog
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>/glog
)
\ No newline at end of file
......@@ -60,9 +60,9 @@ add_revision(boost
URL_MD5 dbc07ab0254df3dda6300fd737b3f264)
add_revision(eigen
URL http://vtk.org/files/support/eigen-3.1.2.tar.gz
URL_MD5 bb639388192cb80f1ee797f5dbdbe74f)
GIT_REPOSITORY https://github.com/eigenteam/eigen-git-mirror.git
GIT_TAG 3.2.0)
add_revision(zlib
URL "http://www.paraview.org/files/dependencies/zlib-1.2.7.tar.gz"
URL_MD5 60df6a37c56e7c1366cca812414f7b85)
......@@ -72,6 +72,14 @@ add_revision(png
URL "http://paraview.org/files/dependencies/libpng-1.4.8.tar.gz"
URL_MD5 49c6e05be5fa88ed815945d7ca7d4aa9)
add_revision(ceres
GIT_REPOSITORY https://ceres-solver.googlesource.com/ceres-solver
GIT_TAG 1.14.0)
add_revision(glog
GIT_REPOSITORY https://github.com/google/glog.git
GIT_TAG 8d7a107d68c127f3f494bb7807b796c8c5a97a82)
add_revision(pcl
GIT_REPOSITORY git://github.com/gcasey/pcl.git
GIT_TAG 16405ab234889f45ffddfed7ec0701c1bf2ec042)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment