mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
FetchContent: Pass through networking-related CMAKE_... variables
CMAKE_TLS_VERIFY, CMAKE_TLS_CAINFO, CMAKE_NETRC and CMAKE_NETRC_FILE are now passed through to the underlying ExternalProject sub-build. Previously, they were silently ignored. Fixes: #22144
This commit is contained in:
@@ -3,9 +3,11 @@ CMAKE_NETRC_FILE
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
This variable is used to initialize the ``NETRC_FILE`` option for
|
||||
:command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands and the
|
||||
module :module:`ExternalProject`. See those commands for additional
|
||||
information.
|
||||
This variable is used to initialize the ``NETRC_FILE`` option for the
|
||||
:command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands.
|
||||
See those commands for additional information.
|
||||
|
||||
This variable is also used by the :module:`ExternalProject` and
|
||||
:module:`FetchContent` modules for internal calls to :command:`file(DOWNLOAD)`.
|
||||
|
||||
The local option takes precedence over this variable.
|
||||
|
||||
Reference in New Issue
Block a user