CMAKE_TLS_VERSION

在 3.30 版被加入.

這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。

Specify the default value for the file(DOWNLOAD) and file(UPLOAD) commands' TLS_VERSION option. This environment variable is used if the option is not given and the CMAKE_TLS_VERSION cmake variable is not set. See that variable for allowed values.

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