浏览代码

Help: CPack/NuGet avoid deprecated variables in the usage example

Alex Turbov 1 年之前
父节点
当前提交
dbdca56555
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Help/cpack_gen/nuget.rst

+ 1 - 2
Help/cpack_gen/nuget.rst

@@ -385,9 +385,8 @@ Example usage
   set(CPACK_PACKAGE_NAME SamplePackage)
   set(CPACK_PACKAGE_VERSION "1.0.0")
   set(CPACK_PACKAGE_VENDOR "Example Inc")
-  set(CPACK_NUGET_PACKAGE_OWNERS "Example Inc")
+  set(CPACK_NUGET_PACKAGE_AUTHORS "ExampleInc")
   set(CPACK_PACKAGE_DESCRIPTION "A .NET wrapper around the foobar library for frobbling bratchens")
-  set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A .NET wrapper around the foobar library for frobbling bratchens")
   set(CPACK_PACKAGE_HOMEPAGE_URL "https://www.example.com")
   set(CPACK_NUGET_PACKAGE_REPOSITORY_URL "https://github.com/example/libfoobar.git")
   set(CPACK_NUGET_PACKAGE_REPOSITORY_TYPE git)