https://github.com/Kitware/CMake
Raw File
Tip revision: c3793b41573ee584e572ea546527b9350f46a05d authored by Brad King on 17 August 2022, 16:54:57 UTC
CMake 3.24.1
Tip revision: c3793b4
CMAKE_NETRC_FILE.rst
CMAKE_NETRC_FILE
----------------

.. versionadded:: 3.11

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.
back to top