From ecef0313f7932259bf42c6edaeca06ec2a0fbdc3 Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Thu, 1 Aug 2024 19:11:42 +0400 Subject: [PATCH] Help: Add a link to `cmake(1)` CLI option to `CMAKE_VS_NUGET_PACKAGE_RESTORE` --- Help/variable/CMAKE_VS_NUGET_PACKAGE_RESTORE.rst | 7 ++++--- 1 file 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 716072630a..380caa2d00 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 ` +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