Skip to content

CPackNuGet: Fix version spec rendering issue

yacoub hossain requested to merge (removed):master into master

The basic idea of the fix is to change "_collected_deps" froma cmake list to a string which dependency info (and later the xml tags to open and close the 'dependencies' section of the nuspec) is concatenated to. This way we avoid iterating a cmake list which potentially could contain unbalanced square brackets which currently appears to be a limitation within the cmake, see bottom of page -> https://cmake.org/cmake/help/v3.8/manual/cmake-language.7.html#lists.

Fixes: #20010 (closed)
Topic-rename: CPackNuGet-version-spec

Edited by Brad King

Merge request reports