https://github.com/Kitware/CMake
Raw File
Tip revision: e2be23a2b39f4380f32fe65ba770addc154579c7 authored by Brad King on 19 January 2023, 14:32:19 UTC
CMake 3.25.2
Tip revision: e2be23a
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