Commit ed9db1b4 authored by John Tourtellott's avatar John Tourtellott

Make building the hydrology package optional

parent 5979230e
......@@ -7,6 +7,8 @@ endif ()
project(cmb-superbuild)
option(cmb_ENABLE_HYDROLOGY_PACKAGE "Build full hydrology package" ON)
macro (superbuild_setup_variables)
include(SuperbuildVersionMacros)
superbuild_set_version_variables(cmb "4.0.0" "cmb-version.cmake")
......@@ -126,9 +128,12 @@ function (superbuild_add_packaging)
superbuild_add_extra_package_test(modelbuilder "${generator}"
LABELS "CMB"
TIMEOUT 6400)
superbuild_add_extra_package_test(hydrology "${generator}"
LABELS "CMB"
TIMEOUT 6400)
if (cmb_ENABLE_HYDROLOGY_PACKAGE)
superbuild_add_extra_package_test(hydrology "${generator}"
LABELS "CMB"
TIMEOUT 6400)
endif()
endforeach ()
endfunction ()
......
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