Commit 34d8d249 authored by Ben Boeckel's avatar Ben Boeckel

cmake: move the package option closer to its use

parent 5d068a2a
Pipeline #59482 passed with stage
......@@ -10,8 +10,6 @@ project(cmb-superbuild)
list(INSERT CMAKE_MODULE_PATH 0
"${CMAKE_CURRENT_LIST_DIR}/cmake")
option(cmb_ENABLE_HYDROLOGY_PACKAGE "Build full hydrology package" ON)
macro (superbuild_setup_variables)
include(SuperbuildVersionMacros)
superbuild_set_version_variables(cmb "4.1.0-RC1" "cmb-version.cmake")
......@@ -131,6 +129,8 @@ function (superbuild_add_packaging)
QT_LIBRARY_DIR)
endif ()
option(cmb_ENABLE_HYDROLOGY_PACKAGE "Build full hydrology package" ON)
foreach (generator IN LISTS generators)
superbuild_add_extra_package_test(modelbuilder "${generator}"
LABELS "CMB"
......
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