summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-08-02 13:43:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-08-02 13:44:14 (GMT)
commita274ba2b971a1dde6d7757d00bf1fd50f71ca2cd (patch)
treee58fd0b2dd8f0e8aeb707091ae15c9a566a8009f
parent3c7c0f2fc63a114a9f7345b15e33cdcf9f39715b (diff)
parentecef0313f7932259bf42c6edaeca06ec2a0fbdc3 (diff)
downloadCMake-a274ba2b971a1dde6d7757d00bf1fd50f71ca2cd.zip
CMake-a274ba2b971a1dde6d7757d00bf1fd50f71ca2cd.tar.gz
CMake-a274ba2b971a1dde6d7757d00bf1fd50f71ca2cd.tar.bz2
Merge topic 'doc-nuget-restore-xref'
ecef0313f7 Help: Add a link to `cmake(1)` CLI option to `CMAKE_VS_NUGET_PACKAGE_RESTORE` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9697
-rw-r--r--Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst b/Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst
index 7160726..380caa2 100644
--- a/Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst
+++ b/Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst
@@ -9,9 +9,10 @@ prior to a build. NuGet packages can be defined using the
:prop_tgt:`VS_PACKAGE_REFERENCES` property on a target. If no
package references are defined, this setting will do nothing.
-The command line option ``--resolve-package-references`` can be used
-alternatively to control the resolve behavior globally. This option
-will take precedence over the cache variable.
+The command line option
+:option:`--resolve-package-references <cmake--build --resolve-package-references>`
+can be used alternatively to control the resolve behavior globally.
+This option will take precedence over the cache variable.
Targets that use the :prop_tgt:`DOTNET_SDK` are required to run a
restore before building. Disabling this option may cause the build