[cmake-developers] [PATCH v2] ExternalProject: Allow TLS_VERIFY for git clones

Brad King brad.king at kitware.com
Wed Apr 6 16:52:25 EDT 2016


On 04/01/2016 01:18 PM, Ben Boeckel wrote:
> On Fri, Apr 01, 2016 at 15:39:26 +0100, Samir Benmendil wrote:
>> Use the git config `http.sslVerify=false` to disable strict ssl for git
>> commands.
> 
> I've pushed this into next for testing.

FYI, the patch is now in 'master'.  However, I since realized that it
changes default behavior to TLS_VERIFY=OFF.  I've restored the default
behavior:

 ExternalProject: Tell Git not to verify certs only if TLS_VERIFY is OFF
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23a71e4e

Now an explicit "TLS_VERIFY OFF" or setting CMAKE_TLS_VERIFY to
"OFF" will disable it but otherwise no special option will be passed
to `git clone`.

-Brad



More information about the cmake-developers mailing list