From 8fdce89f70773d9114f5b064d2f1e26071da2625 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sun, 28 May 2023 20:16:19 +1000 Subject: Help: Clarify default TLS_VERIFY behavior for git download method --- Modules/ExternalProject.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index bac126c..e9e98a0 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -232,7 +232,12 @@ External Project Definition measure. .. versionchanged:: 3.6 - This option also applies to ``git clone`` invocations. + This option also applies to ``git clone`` invocations, although the + default behavior is different. If ``TLS_VERIFY`` is not given and + :variable:`CMAKE_TLS_VERIFY` is not set, the behavior will be + determined by git's defaults. Normally, the ``sslVerify`` git + config setting defaults to true, but the user may have overridden + this at a global level. ``TLS_CAINFO `` Specify a custom certificate authority file to use if ``TLS_VERIFY`` -- cgit v0.12