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 /CTestConfig.cmake | |
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 'CTestConfig.cmake')
-rw-r--r-- | CTestConfig.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CTestConfig.cmake b/CTestConfig.cmake index 9ec9e8f..476a1c6 100644 --- a/CTestConfig.cmake +++ b/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) |