mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Merge topic 'cpack-nuget-components-on-windows'
066ff258db CPack/NuGet: Restore component packaging on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7280
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user