summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-28 14:36:22 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-28 14:41:01 (GMT)
commite39c37ab29a2c3955207cfea693e431ef5bec336 (patch)
tree4f46cf24480d3686febc1bcabf8fdcdcc45f6e05 /Modules/ExternalProject.cmake
parentfe5e6c27bd1d9bbacd3baebdde878f989c82b79d (diff)
downloadCMake-e39c37ab29a2c3955207cfea693e431ef5bec336.zip
CMake-e39c37ab29a2c3955207cfea693e431ef5bec336.tar.gz
CMake-e39c37ab29a2c3955207cfea693e431ef5bec336.tar.bz2
ExternalProject: Revise wording of TLS_VERIFY documentation
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake13
1 files changed, 6 insertions, 7 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index b7290db..c5e36ab 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -227,8 +227,8 @@ URL
``TLS_VERIFY <bool>``
Specifies whether certificate verification should be performed for
- https URLs. If this option is not provided, the default behavior is
- determined by the :variable:`CMAKE_TLS_VERIFY` variable (see
+ ``https://`` URLs. If this option is not provided, the default behavior
+ is determined by the :variable:`CMAKE_TLS_VERIFY` variable (see
:command:`file(DOWNLOAD)`). If that is also not set, certificate
verification will not be performed. In situations where ``URL_HASH``
cannot be provided, this option can be an alternative verification
@@ -236,11 +236,10 @@ URL
.. versionchanged:: 3.6
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.
+ default behavior is different. If neither the ``TLS_VERIFY`` option
+ or :variable:`CMAKE_TLS_VERIFY` variable is specified, the behavior
+ will be determined by git's default (true) or a ``http.sslVerify``
+ git config option the user may have set at a global level.
``TLS_CAINFO <file>``
Specify a custom certificate authority file to use if ``TLS_VERIFY``