summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-06-14 06:17:49 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-06-14 06:17:49 (GMT)
commitc2390f7676d260d3afaa4e2ce6af72be3ac5a7f8 (patch)
tree1a0e8fdcb692d2bb5019af3186b5abd16b793617 /Help
parentaecdab38338346be61ccf206390d675c54d2613d (diff)
downloadCMake-c2390f7676d260d3afaa4e2ce6af72be3ac5a7f8.zip
CMake-c2390f7676d260d3afaa4e2ce6af72be3ac5a7f8.tar.gz
CMake-c2390f7676d260d3afaa4e2ce6af72be3ac5a7f8.tar.bz2
Help: Fix nuget example with unwanted comment and bad use of rst link
Diffstat (limited to 'Help')
-rw-r--r--Help/cpack_gen/nuget.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Help/cpack_gen/nuget.rst b/Help/cpack_gen/nuget.rst
index ad3ec9f..e25364f 100644
--- a/Help/cpack_gen/nuget.rst
+++ b/Help/cpack_gen/nuget.rst
@@ -300,7 +300,7 @@ Example usage
set(CPACK_GENERATOR NuGet)
# Set up package metadata
set(CPACK_PACKAGE_NAME SamplePackage)
- set(CPACK_PACKAGE_VERSION "1.0.0") # Why doesn't this pick up the version from the project?
+ set(CPACK_PACKAGE_VERSION "1.0.0")
set(CPACK_PACKAGE_VENDOR "Example Inc")
set(CPACK_NUGET_PACKAGE_OWNERS "Example Inc")
set(CPACK_PACKAGE_DESCRIPTION "A .NET wrapper around the foobar library for frobbling bratchens")
@@ -319,12 +319,11 @@ Example usage
set(CPACK_NUGET_PACKAGE_DEPENDENCIES "Baz")
set(CPACK_NUGET_PACKAGE_DEPENDENCIES_Baz_VERSION "9.8.6")
# NB: Since "net6.0" was listed but no dependencies have been specified, an empty group
- # will be added to the nuspec file for this framework. This can be used to address `NU5128`_.
+ # will be added to the nuspec file for this framework. This can be used to address warning NU5128.
include(CPack)
-
.. _nuget.org: https://www.nuget.org
.. _version specification: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges
.. _SPDX license identifier: https://spdx.org/licenses