diff options
author | iorikyu <benhiz.i@gmail.com> | 2020-12-21 23:07:36 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-22 09:30:33 -0500 |
commit | dade75509feb8fc3fbacc33c5927babbc3f47d95 (patch) | |
tree | aa81f0693b1b10cd79cf08685742be2c5ba495e1 | |
parent | 05a59f37abd982b249f8cad648640c3394acc98a (diff) | |
download | cmake-dade75509feb8fc3fbacc33c5927babbc3f47d95.tar.gz |
CPack/NuGet: Fix nuspec file generation for UNIX-style OS
Use forward slashes, which should work on both UNIX and Windows.
-rw-r--r-- | Modules/Internal/CPack/CPackNuGet.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 " <file src=\"${_comp}\\**\" target=\".\" />\n") + string(APPEND _files " <file src=\"${_comp}/**\" target=\".\" />\n") endforeach() set(_CPACK_NUGET_FILES_TAG "<files>\n${_files} </files>" PARENT_SCOPE) endfunction() |