summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-26 16:36:33 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-28 13:40:27 (GMT)
commit434fe8a34b654ca2a6fee489dc02a2ddc308d1e1 (patch)
tree3ff44712e79b02e14750b358763a7356c7cc44ac /Help/envvar
parentfb9a6cf909381de8eabe88913349312cce411714 (diff)
downloadCMake-434fe8a34b654ca2a6fee489dc02a2ddc308d1e1.zip
CMake-434fe8a34b654ca2a6fee489dc02a2ddc308d1e1.tar.gz
CMake-434fe8a34b654ca2a6fee489dc02a2ddc308d1e1.tar.bz2
file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable
Issue: #25701
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/CMAKE_TLS_VERSION.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/envvar/CMAKE_TLS_VERSION.rst b/Help/envvar/CMAKE_TLS_VERSION.rst
new file mode 100644
index 0000000..3bb2c97
--- /dev/null
+++ b/Help/envvar/CMAKE_TLS_VERSION.rst
@@ -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.