Commit 3a8c0f73 authored by T.J. Corona's avatar T.J. Corona

If cmb is in developer mode and smtk is "from_cmb", warn and use git

parent 5ad5d4e5
......@@ -145,8 +145,9 @@ function (superbuild_sanity_check)
smtk_SOURCE_SELECTION STREQUAL "from_cmb" AND
NOT DEVELOPER_MODE_smtk AND
(NOT cmb_enabled OR DEVELOPER_MODE_cmb))
message(FATAL_ERROR
"SMTK cannot use CMB's SMTK submodule without CMB being enabled and built by the superbuild.")
message(WARNING
"SMTK cannot use CMB's SMTK submodule without CMB being enabled and built by the superbuild. Pulling SMTK from git instead")
set(smtk_SOURCE_SELECTION "git" CACHE STRING "smtk source selection" FORCE)
endif ()
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