https://github.com/Kitware/CMake
Raw File
Tip revision: 618fdc1c42e127e5807c4b863dd7823a8093c15e authored by Brad King on 06 December 2023, 13:57:42 UTC
CMake 3.28.0
Tip revision: 618fdc1
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