cmake/Help/variable/CMAKE_NETRC_FILE.rst
2021-11-20 13:41:27 +01:00

14 lines
440 B
ReStructuredText

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.