file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable

Issue: #25701
This commit is contained in:
Brad King
2024-02-26 11:36:33 -05:00
parent fb9a6cf909
commit 434fe8a34b
7 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
CMAKE_TLS_VERSION
-----------------
.. versionadded:: 3.30
.. include:: ENV_VAR.txt
Specify the default value for the :command:`file(DOWNLOAD)` and
:command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
This environment variable is used if the option is not given
and the :variable:`CMAKE_TLS_VERSION` cmake variable is not set.
See that variable for allowed values.