Commit 7f950046 authored by Nicolas Cadart's avatar Nicolas Cadart
Browse files

Add g2o to superbuild

parent a43e496f
......@@ -87,6 +87,7 @@ function (superbuild_find_projects var)
nanoflann
yaml
darknet
g2o
)
if (UNIX)
......@@ -211,6 +212,7 @@ if (ENABLE_all)
set(ENABLE_pcl ON CACHE BOOL "enable PCL")
set(ENABLE_nanoflann ON CACHE BOOL "enable nanoflann")
set(ENABLE_darknet ON CACHE BOOL "enable darknet")
set(ENABLE_g2o ON CACHE BOOL "enable G2O")
endif(ENABLE_all)
add_subdirectory(common-superbuild)
superbuild_add_project(g2o
DEPENDS eigen
CMAKE_ARGS
-DG2O_BUILD_EXAMPLES=OFF
-DG2O_BUILD_APPS=OFF
-DEIGEN3_DIR=<INSTALL_DIR>/share/eigen3/cmake
-Dg2o_RUNTIME_OUTPUT_DIRECTORY=bin
-Dg2o_LIBRARY_OUTPUT_DIRECTORY=lib
-DCMAKE_INSTALL_RPATH=<INSTALL_DIR>/lib
)
......@@ -57,8 +57,8 @@ superbuild_set_revision(pcl
GIT_TAG pcl-1.8.1)
superbuild_set_revision(qhull
GIT_REPOSITORY https://github.com/qhull/qhull.git
GIT_TAG master)
GIT_REPOSITORY https://github.com/qhull/qhull.git
GIT_TAG master)
superbuild_set_revision(flann
GIT_REPOSITORY https://gitlab.kitware.com/gabriel.devillers/flann.git
......@@ -79,3 +79,7 @@ superbuild_set_revision(yaml
superbuild_set_revision(darknet
GIT_REPOSITORY https://github.com/pjreddie/darknet.git
GIT_TAG master)
superbuild_set_revision(g2o
GIT_REPOSITORY https://github.com/RainerKuemmerle/g2o.git
GIT_TAG master)
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