file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variable

Issue: #25701
This commit is contained in:
Brad King
2024-02-26 11:36:02 -05:00
parent 8e6776b9f3
commit fb9a6cf909
7 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
CMAKE_TLS_VERSION
-----------------
.. versionadded:: 3.30
Specify the default value for the :command:`file(DOWNLOAD)` and
:command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
The value may be one of:
* ``1.0``
* ``1.1``
* ``1.2``
* ``1.3``