Commit b8b9aef3 authored by Ben Boeckel's avatar Ben Boeckel

ctest: fix logic with submission locations

parent ed70f504
......@@ -115,7 +115,7 @@ endfunction ()
macro (superbuild_setup_tests)
if (cmb_enabled)
set(DROP_LOCATION "/submit.php?project=CMB")
else (smtk_enabled)
elseif (smtk_enabled)
set(DROP_LOCATION "/submit.php?project=SMTK")
endif ()
endmacro ()
......
if (ctest_submit_to_smtk)
set(DROP_LOCATION "/submit.php?project=SMTK")
else ()
set(DROP_LOCATION "/submit.php?project=CMB")
endif ()
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000)
......
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