diff options
author | iorikyu <benhiz.i@gmail.com> | 2020-12-21 22:07:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-22 14:30:33 (GMT) |
commit | dade75509feb8fc3fbacc33c5927babbc3f47d95 (patch) | |
tree | aa81f0693b1b10cd79cf08685742be2c5ba495e1 /Modules/Internal | |
parent | 05a59f37abd982b249f8cad648640c3394acc98a (diff) | |
download | CMake-dade75509feb8fc3fbacc33c5927babbc3f47d95.zip CMake-dade75509feb8fc3fbacc33c5927babbc3f47d95.tar.gz CMake-dade75509feb8fc3fbacc33c5927babbc3f47d95.tar.bz2 |
CPack/NuGet: Fix nuspec file generation for UNIX-style OS
Use forward slashes, which should work on both UNIX and Windows.
Diffstat (limited to 'Modules/Internal')
-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 56bbffd..fb363f4 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() |