Help: Add documentation for CMAKE_TLS_CAINFO
This commit is contained in:
parent
b3a0bddc4e
commit
2a82bd85b6
@ -1113,8 +1113,9 @@ If neither ``NETRC`` option is given CMake will check variables
|
||||
|
||||
For ``https://`` URLs CMake must be built with OpenSSL support. ``TLS/SSL``
|
||||
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. If neither ``TLS`` option is given, CMake will use the
|
||||
settings from the :variable:`CMAKE_TLS_VERIFY` and :variable:`CMAKE_TLS_CAINFO`
|
||||
variables instead.
|
||||
|
||||
Additional options to ``DOWNLOAD`` are:
|
||||
|
||||
|
@ -247,6 +247,7 @@ Variables that Change Behavior
|
||||
/variable/CMAKE_SYSTEM_LIBRARY_PATH
|
||||
/variable/CMAKE_SYSTEM_PREFIX_PATH
|
||||
/variable/CMAKE_SYSTEM_PROGRAM_PATH
|
||||
/variable/CMAKE_TLS_CAINFO
|
||||
/variable/CMAKE_TLS_VERIFY
|
||||
/variable/CMAKE_USER_MAKE_RULES_OVERRIDE
|
||||
/variable/CMAKE_WARN_DEPRECATED
|
||||
|
9
Help/variable/CMAKE_TLS_CAINFO.rst
Normal file
9
Help/variable/CMAKE_TLS_CAINFO.rst
Normal file
@ -0,0 +1,9 @@
|
||||
CMAKE_TLS_CAINFO
|
||||
----------------
|
||||
|
||||
Specify the default value for the :command:`file(DOWNLOAD)` and
|
||||
:command:`file(UPLOAD)` commands' ``TLS_CAINFO`` options.
|
||||
It is unset by default.
|
||||
|
||||
This variable is also used by the :module:`ExternalProject` module
|
||||
for internal calls to :command:`file(DOWNLOAD)`.
|
@ -224,14 +224,14 @@ External Project Definition
|
||||
``TLS_CAINFO <file>``
|
||||
Specify a custom certificate authority file to use if ``TLS_VERIFY``
|
||||
is enabled. If this option is not specified, the value of the
|
||||
``CMAKE_TLS_CAINFO`` variable will be used instead (see
|
||||
:variable:`CMAKE_TLS_CAINFO` variable will be used instead (see
|
||||
:command:`file(DOWNLOAD)`)
|
||||
|
||||
``NETRC <level>``
|
||||
.. versionadded:: 3.11
|
||||
|
||||
Specify whether the ``.netrc`` file is to be used for operation.
|
||||
If this option is not specified, the value of the ``CMAKE_NETRC``
|
||||
If this option is not specified, the value of the :variable:`CMAKE_NETRC`
|
||||
variable will be used instead (see :command:`file(DOWNLOAD)`)
|
||||
Valid levels are:
|
||||
|
||||
@ -251,8 +251,8 @@ External Project Definition
|
||||
|
||||
Specify an alternative ``.netrc`` file to the one in your home directory
|
||||
if the ``NETRC`` level is ``OPTIONAL`` or ``REQUIRED``. If this option
|
||||
is not specified, the value of the ``CMAKE_NETRC_FILE`` variable will
|
||||
be used instead (see :command:`file(DOWNLOAD)`)
|
||||
is not specified, the value of the :variable:`CMAKE_NETRC_FILE` variable
|
||||
will be used instead (see :command:`file(DOWNLOAD)`)
|
||||
|
||||
.. versionadded:: 3.1
|
||||
Added support for `tbz2`, `.tar.xz`, `.txz`, and `.7z` extensions.
|
||||
|
Loading…
Reference in New Issue
Block a user