diff options
author | Brad King <brad.king@kitware.com> | 2016-04-06 20:39:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-06 20:49:13 (GMT) |
commit | 23a71e4e4d5ca6bdb39e250335074a2b8ab74a02 (patch) | |
tree | f5e43955e2d9491f6be16bf5d02c67965702b5a1 /Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h | |
parent | 272779ce6aa4dbf15e2791ca3f3f5cbf1ce57b39 (diff) | |
download | CMake-23a71e4e4d5ca6bdb39e250335074a2b8ab74a02.zip CMake-23a71e4e4d5ca6bdb39e250335074a2b8ab74a02.tar.gz CMake-23a71e4e4d5ca6bdb39e250335074a2b8ab74a02.tar.bz2 |
ExternalProject: Tell Git not to verify certs only if TLS_VERIFY is OFF
Since commit 272779ce (ExternalProject: Allow TLS_VERIFY for git clones,
2016-04-01) we pass the `-c http.sslVerify=false` option to `git clone`
even if no explicit `TLS_VERIFY` option was set. This changes behavior
because we used to use the default Git behavior by default. Revise the
logic to preserve the old default behavior by passing the new option
only if `TLS_VERIFY` was explicitly passed as `OFF`.
While at it, also honor `CMAKE_TLS_VERIFY` if the explicit `TLS_VERIFY`
option is not given.
Diffstat (limited to 'Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions