summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_NETRC.rst
blob: bddfca555d8e819e86f05e16ded6a4396824d747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_NETRC
-----------

.. versionadded:: 3.11

This variable is used to initialize the ``NETRC`` 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.