CMAKE_TLS_VERSION.rst 355 B

12345678910111213141516171819
  1. CMAKE_TLS_VERSION
  2. -----------------
  3. .. versionadded:: 3.30
  4. Specify the default value for the :command:`file(DOWNLOAD)` and
  5. :command:`file(UPLOAD)` commands' ``TLS_VERSION`` option.
  6. If this variable is not set, the commands check the
  7. :envvar:`CMAKE_TLS_VERSION` environment variable.
  8. The value may be one of:
  9. * ``1.0``
  10. * ``1.1``
  11. * ``1.2``
  12. * ``1.3``