From dade75509feb8fc3fbacc33c5927babbc3f47d95 Mon Sep 17 00:00:00 2001 From: iorikyu Date: Mon, 21 Dec 2020 23:07:36 +0100 Subject: CPack/NuGet: Fix nuspec file generation for UNIX-style OS Use forward slashes, which should work on both UNIX and Windows. --- Modules/Internal/CPack/CPackNuGet.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Internal/CPack/CPackNuGet.cmake b/Modules/Internal/CPack/CPackNuGet.cmake index 56bbffdb12..fb363f4489 100644 --- a/Modules/Internal/CPack/CPackNuGet.cmake +++ b/Modules/Internal/CPack/CPackNuGet.cmake @@ -332,7 +332,7 @@ endfunction() function(_cpack_nuget_make_files_tag) set(_files) foreach(_comp IN LISTS ARGN) - string(APPEND _files " \n") + string(APPEND _files " \n") endforeach() set(_CPACK_NUGET_FILES_TAG "\n${_files} " PARENT_SCOPE) endfunction() -- cgit v1.2.1