Files
CMake/Help/variable/CMAKE_TLS_VERSION.rst
T
Brad King 2ef3bd9186 ExternalProject: Add TLS version options for https connections
Add a `TLS_VERSION` option and honor `CMAKE_TLS_VERSION` variables.
Also map the version to Git options as we already do for `TLS_VERIFY`.

Issue: #25701
2024-02-28 19:11:29 -05:00

24 lines
518 B
ReStructuredText

CMAKE_TLS_VERSION
-----------------
.. versionadded:: 3.30
Specify the default value for the :command:`file(DOWNLOAD)` and
:command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
If this variable is not set, the commands check the
:envvar:`CMAKE_TLS_VERSION` environment variable.
The value may be one of:
* ``1.0``
* ``1.1``
* ``1.2``
* ``1.3``
This variable is also used by the :module:`ExternalProject` and
:module:`FetchContent` modules for internal calls to
:command:`file(DOWNLOAD)` and ``git clone``.