CMAKE_NETRC
From Get docs
Cmake/docs/3.21/variable/cmake netrc
CMAKE_NETRC
New in version 3.11.
This variable is used to initialize the NETRC
option for file(DOWNLOAD) and file(UPLOAD) commands and the module ExternalProject. See those commands for additional information.
The local option takes precedence over this variable.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_NETRC.html