summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_TLS_VERSION.rst
blob: 3e7f2ce0a68ba7c85e11984b70a114c3d80087fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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:

.. include:: CMAKE_TLS_VERSION-VALUES.txt

This variable is also used by the :module:`ExternalProject` and
:module:`FetchContent` modules for internal calls to
:command:`file(DOWNLOAD)` and ``git clone``.