Commit 4b2f4c95 authored by Nick Laurenson's avatar Nick Laurenson
Browse files

Add cmake Superbuild option to enable all dependancies

parent ffac6816
......@@ -28,7 +28,6 @@ macro (superbuild_setup_variables)
# set(paraview_version "${paraview_version_major}.${paraview_version_minor}")
set(paraview_version "5.4")
endmacro ()
#------------------------------------------------------------------------------
# Set a default build type if none was specified
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
......@@ -203,4 +202,12 @@ list(APPEND superbuild_project_roots
set(_superbuild_default_cxx11 ON)
option(ENABLE_all "Enable all optional dependancy like pcl, ceres, opencv, ..." ON)
if (ENABLE_all)
set(ENABLE_opencv ON)
set(ENABLE_ceres ON)
set(ENABLE_pcl ON)
set(ENABLE_nanoflann ON)
endif(ENABLE_all)
add_subdirectory(common-superbuild)
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