CPack/NuGet: Add support for readme tag

Fixes: #25542
This commit is contained in:
Alex Turbov
2023-12-29 18:25:01 -05:00
committed by Brad King
parent a3f76a4e4d
commit 2c616e85cf
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
@_CPACK_NUGET_LICENSE_TAG@
@_CPACK_NUGET_ICONURL_TAG@
@_CPACK_NUGET_ICON_TAG@
@_CPACK_NUGET_README_TAG@
@_CPACK_NUGET_REQUIRELICENSEACCEPTANCE_TAG@
@_CPACK_NUGET_SUMMARY_TAG@
@_CPACK_NUGET_RELEASENOTES_TAG@

View File

@@ -294,6 +294,9 @@ function(_cpack_nuget_render_spec)
# attributes: "type", "url", "branch", and "commit". While all fields are
# considered optional, they are not independent. Currently unsupported.
# NuGet >= 5.10
_cpack_nuget_variable_fallback_and_wrap_into_element(readme README)
# Handle dependencies
_cpack_nuget_variable_fallback(_deps DEPENDENCIES)
set(_collected_deps)