Commit f60ed903 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

aeva, cmb, smtk: use new ExternalProject keyword if possible

parent 8ccac6fc
......@@ -47,10 +47,16 @@ string(REPLACE ";" "${_superbuild_list_separator}"
aeva_plugins
"${aeva_plugins}")
if (POLICY CMP0114)
set(aeva_step_keyword STEP_TARGETS)
else ()
set(aeva_step_keyword INDEPENDENT_STEP_TARGETS)
endif ()
superbuild_add_project(aeva
DEVELOPER_MODE
DEBUGGABLE
INDEPENDENT_STEP_TARGETS ${aeva_lfs_steps} download update
${aeva_step_keyword} ${aeva_lfs_steps} download update
DEPENDS aevasession boost moab nlohmannjson occt python paraview
pybind11 qt5 smtk opencascadesession aevaexampledata
DEPENDS_OPTIONAL cumulus ${aeva_extra_optional_dependencies}
......
......@@ -46,11 +46,17 @@ string(REPLACE ";" "${_superbuild_list_separator}"
cmb_plugins
"${cmb_plugins}")
if (POLICY CMP0114)
set(cmb_step_keyword STEP_TARGETS)
else ()
set(cmb_step_keyword INDEPENDENT_STEP_TARGETS)
endif ()
superbuild_add_project(cmb
DEVELOPER_MODE
DEBUGGABLE
DEFAULT_ON
INDEPENDENT_STEP_TARGETS ${cmb_lfs_steps} download update
${cmb_step_keyword} ${cmb_lfs_steps} download update
DEPENDS boost moab nlohmannjson python paraview pybind11
qt5 smtk cmbworkflows cmbusersguide smtkusersguide
DEPENDS_OPTIONAL cumulus ${cmb_extra_optional_dependencies}
......
......@@ -33,13 +33,19 @@ endif ()
get_property(smtk_lfs_steps GLOBAL
PROPERTY cmb_superbuild_lfs_steps)
if (POLICY CMP0114)
set(smtk_step_keyword STEP_TARGETS)
else ()
set(smtk_step_keyword INDEPENDENT_STEP_TARGETS)
endif ()
#explicitly depend on gdal so we inherit the location of the GDAL library
#which FindGDAL.cmake fails to find, even when given GDAL_DIR.
superbuild_add_project(smtk
DEVELOPER_MODE
DEBUGGABLE
DEFAULT_ON
INDEPENDENT_STEP_TARGETS ${smtk_lfs_steps} download update
${smtk_step_keyword} ${smtk_lfs_steps} download update
DEPENDS boost cxx11 eigen hdf5 libarchive moab netcdf nlohmannjson pegtl
DEPENDS_OPTIONAL cumulus gdal netcdf occt paraview pybind11 python python2
python3 matplotlib remus qt5 vtkonly
......
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