summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProject/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-04-11 20:34:58 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-04-11 20:34:58 (GMT)
commit3a5a402a533b88e9f4810d07c1bfcb9e2c5abde4 (patch)
tree83ec5df3ee30308123040b4eabf4713de5e05798 /Tests/ExternalProject/CMakeLists.txt
parenta961ecdad0ec31bacb3f6abff83aa65f0b51a676 (diff)
downloadCMake-3a5a402a533b88e9f4810d07c1bfcb9e2c5abde4.zip
CMake-3a5a402a533b88e9f4810d07c1bfcb9e2c5abde4.tar.gz
CMake-3a5a402a533b88e9f4810d07c1bfcb9e2c5abde4.tar.bz2
ExternalProject: Add SVN_TRUST_CERT argument
Which adds --non-interactive and --trust-server-cert to the svn checkout and update command lines. This allows ExternalProject clients to pull from an https:// based svn server even though the server may not have a valid or trusted certificate. Caveat emptor: I would NOT recommend using this except as a short-term work-around. Rather, the server should have a valid, trusted certificate, or the client should be using "http" instead of "https".
Diffstat (limited to 'Tests/ExternalProject/CMakeLists.txt')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 5158f31..4a542d7 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -100,6 +100,9 @@ ExternalProject_Add(${proj}
STEP_TARGETS install update
SVN_REPOSITORY ""
SVN_REVISION ""
+ SVN_USERNAME ""
+ SVN_PASSWORD ""
+ SVN_TRUST_CERT 1
TEST_COMMAND ""
TIMEOUT ""
URL ""