|
@@ -1073,7 +1073,7 @@ Options to both ``DOWNLOAD`` and ``UPLOAD`` are:
|
|
|
.. versionadded:: 3.11
|
|
.. versionadded:: 3.11
|
|
|
|
|
|
|
|
Specify whether the .netrc file is to be used for operation. If this
|
|
Specify whether the .netrc file is to be used for operation. If this
|
|
|
- option is not specified, the value of the ``CMAKE_NETRC`` variable
|
|
|
|
|
|
|
+ option is not specified, the value of the :variable:`CMAKE_NETRC` variable
|
|
|
will be used instead.
|
|
will be used instead.
|
|
|
Valid levels are:
|
|
Valid levels are:
|
|
|
|
|
|
|
@@ -1092,29 +1092,28 @@ Options to both ``DOWNLOAD`` and ``UPLOAD`` are:
|
|
|
|
|
|
|
|
Specify an alternative .netrc file to the one in your home directory,
|
|
Specify an alternative .netrc file to the one in your home directory,
|
|
|
if the ``NETRC`` level is ``OPTIONAL`` or ``REQUIRED``. If this option
|
|
if the ``NETRC`` level is ``OPTIONAL`` or ``REQUIRED``. If this option
|
|
|
- is not specified, the value of the ``CMAKE_NETRC_FILE`` variable will
|
|
|
|
|
|
|
+ is not specified, the value of the :variable:`CMAKE_NETRC_FILE` variable will
|
|
|
be used instead.
|
|
be used instead.
|
|
|
|
|
|
|
|
-If neither ``NETRC`` option is given CMake will check variables
|
|
|
|
|
-``CMAKE_NETRC`` and ``CMAKE_NETRC_FILE``, respectively.
|
|
|
|
|
-
|
|
|
|
|
``TLS_VERIFY <ON|OFF>``
|
|
``TLS_VERIFY <ON|OFF>``
|
|
|
Specify whether to verify the server certificate for ``https://`` URLs.
|
|
Specify whether to verify the server certificate for ``https://`` URLs.
|
|
|
- The default is to *not* verify.
|
|
|
|
|
|
|
+ The default is to *not* verify. If this option is not specified, the value
|
|
|
|
|
+ of the :variable:`CMAKE_TLS_VERIFY` variable will be used instead.
|
|
|
|
|
|
|
|
.. versionadded:: 3.18
|
|
.. versionadded:: 3.18
|
|
|
Added support to ``file(UPLOAD)``.
|
|
Added support to ``file(UPLOAD)``.
|
|
|
|
|
|
|
|
``TLS_CAINFO <file>``
|
|
``TLS_CAINFO <file>``
|
|
|
- Specify a custom Certificate Authority file for ``https://`` URLs.
|
|
|
|
|
|
|
+ Specify a custom Certificate Authority file for ``https://`` URLs. If this
|
|
|
|
|
+ option is not specified, the value of the :variable:`CMAKE_TLS_CAINFO`
|
|
|
|
|
+ variable will be used instead.
|
|
|
|
|
|
|
|
.. versionadded:: 3.18
|
|
.. versionadded:: 3.18
|
|
|
Added support to ``file(UPLOAD)``.
|
|
Added support to ``file(UPLOAD)``.
|
|
|
|
|
|
|
|
For ``https://`` URLs CMake must be built with OpenSSL support. ``TLS/SSL``
|
|
For ``https://`` URLs CMake must be built with OpenSSL support. ``TLS/SSL``
|
|
|
certificates are not checked by default. Set ``TLS_VERIFY`` to ``ON`` to
|
|
certificates are not checked by default. Set ``TLS_VERIFY`` to ``ON`` to
|
|
|
-check certificates. If neither ``TLS`` option is given CMake will check
|
|
|
|
|
-variables :variable:`CMAKE_TLS_VERIFY` and ``CMAKE_TLS_CAINFO``, respectively.
|
|
|
|
|
|
|
+check certificates.
|
|
|
|
|
|
|
|
Additional options to ``DOWNLOAD`` are:
|
|
Additional options to ``DOWNLOAD`` are:
|
|
|
|
|
|