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

2016-04-01 Thread Ben Boeckel
On Fri, Apr 01, 2016 at 10:58:50 +0100, Samir Benmendil wrote: > +# set git_options > +if(NOT tls_verify) > + set(git_options -c http.sslVerify=false) > +endif() Looks good overall, but could this be turned into a pattern like: set(git_options) if (NOT tls_verify) list(APPEND git_o

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

2016-04-01 Thread Samir Benmendil
Use the git config `http.sslVerify=false` to disable strict ssl for git commands. --- Modules/ExternalProject.cmake | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 1185a81..04e35da 10064