Commit 2ca51e6f authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'cpack-nuget-components-on-windows' into release-3.23

066ff258

 CPack/NuGet: Restore component packaging on Windows
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !7280
parents 640268c1 066ff258
......@@ -332,7 +332,9 @@ endfunction()
function(_cpack_nuget_make_files_tag)
set(_files)
foreach(_comp IN LISTS ARGN)
string(APPEND _files " <file src=\"${_comp}/**\" target=\".\" />\n")
cmake_path(APPEND _comp "**")
cmake_path(NATIVE_PATH _comp _comp)
string(APPEND _files " <file src=\"${_comp}\" target=\".\" />\n")
endforeach()
set(_CPACK_NUGET_FILES_TAG "<files>\n${_files} </files>" PARENT_SCOPE)
endfunction()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment