CPack/NuGet: Provide more granular errors
This change addresses the problem of not knowing when cpack fails to create a nuget package which occurs when creating multiple nupkgs.
Fixes: #20094 (closed)
Topic-rename: CPackNuGet-granular-errors
Edited by Brad King