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

@@ -1101,6 +1101,9 @@ Transfer
.. versionadded:: 3.30
Specify minimum TLS version for ``https://`` URLs.
If this option is not specified, the value of the
:variable:`CMAKE_TLS_VERSION` variable will be used instead.
See that variable for allowed values.
``TLS_VERIFY <ON|OFF>``
Specify whether to verify the server certificate for ``https://`` URLs.