CMAKE_TLS_VERSION.rst 536 B

12345678910111213141516
  1. CMAKE_TLS_VERSION
  2. -----------------
  3. .. versionadded:: 3.30
  4. .. include:: ENV_VAR.txt
  5. Specify the default value for the :command:`file(DOWNLOAD)` and
  6. :command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
  7. This environment variable is used if the option is not given
  8. and the :variable:`CMAKE_TLS_VERSION` cmake variable is not set.
  9. See that variable for allowed values.
  10. This variable is also used by the :module:`ExternalProject` and
  11. :module:`FetchContent` modules for internal calls to
  12. :command:`file(DOWNLOAD)` and ``git clone``.