Commit 37d74b37 authored by Pierre Guilbert's avatar Pierre Guilbert
Browse files

Add YAML dependency

parent 6d5c3159
......@@ -86,6 +86,7 @@ function (superbuild_find_projects var)
qhull
flann
nanoflann
yaml
)
if (UNIX)
......
superbuild_add_project(lidarview
DEPENDS paraview qt5 pcap boost eigen liblas
DEPENDS paraview qt5 pcap boost eigen liblas yaml
DEFAULT_ON
CMAKE_ARGS
-DBUILD_SHARED_LIBS:BOOL=ON
......@@ -13,6 +13,7 @@ superbuild_add_project(lidarview
-DBOOST_LIBRARYDIR:PATH=<INSTALL_DIR>/lib
-Dqt_version:STRING=${qt_version}
-DPCL_DIR:PATH=<INSTALL_DIR>/share/pcl-1.8/
-DYAML_DIR:PATH=<INSTALL_DIR>/include/yaml-cpp/
-DENABLE_pcl=${ENABLE_pcl}
-DENABLE_ceres=${ENABLE_ceres}
-DENABLE_opencv=${ENABLE_opencv}
......
superbuild_add_project(yaml
DEPENDS
CMAKE_ARGS
-DCMAKE_CXX_STANDARD=11
-DCMAKE_CXX_STANDARD_REQUIRED=true
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>/yaml
-DGFLAGS=false
)
......@@ -73,3 +73,7 @@ superbuild_set_revision(opencv
superbuild_set_revision(nanoflann
GIT_REPOSITORY https://github.com/jlblancoc/nanoflann.git
GIT_TAG v1.3.0)
superbuild_set_revision(yaml
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
GIT_TAG yaml-cpp-0.6.2)
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