diff options
author | Rolf Eike Beer <eb@emlix.com> | 2020-06-09 06:36:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-09 13:33:01 (GMT) |
commit | 42dcc2bd51258c4308adbe47700245caf80c96af (patch) | |
tree | 590e99add49b406d861f409ccc6d8cd7ceeeed16 /Utilities | |
parent | cfbd274f7c6a6da4a2840cc174cc93a4f0f98c85 (diff) | |
download | CMake-42dcc2bd51258c4308adbe47700245caf80c96af.zip CMake-42dcc2bd51258c4308adbe47700245caf80c96af.tar.gz CMake-42dcc2bd51258c4308adbe47700245caf80c96af.tar.bz2 |
CTestConfig: allow nightly build submission using https
The idea is that one may set `CTEST_DROP_METHOD` in custom CTest
scripting.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/Sphinx/CTestConfig.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/Sphinx/CTestConfig.cmake b/Utilities/Sphinx/CTestConfig.cmake index 9607e38..e5f4260 100644 --- a/Utilities/Sphinx/CTestConfig.cmake +++ b/Utilities/Sphinx/CTestConfig.cmake @@ -6,7 +6,9 @@ set(CTEST_PROJECT_NAME "CMake") set(CTEST_NIGHTLY_START_TIME "1:00:00 UTC") -set(CTEST_DROP_METHOD "http") +if(NOT CTEST_DROP_METHOD STREQUAL "https") + set(CTEST_DROP_METHOD "http") +endif() set(CTEST_DROP_SITE "open.cdash.org") set(CTEST_DROP_LOCATION "/submit.php?project=CMake") set(CTEST_DROP_SITE_CDASH TRUE) |