CMAKE_TLS_VERIFY — CMake 4.3.0 Documentation

# CMAKE_TLS_VERIFY

Added in version 3.30.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Specify the default value for the `file(DOWNLOAD)` and `file(UPLOAD)` commands' `TLS_VERIFY` option. This environment variable is used if the option is not given and the `CMAKE_TLS_VERIFY` cmake variable is not set.

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