diff options
Diffstat (limited to 'xmake/plugins/project/vsxmake/getinfo.lua')
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index a6f5e1aaa..60445a106 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -363,10 +363,10 @@ function _make_filter(filepath, target, vcxprojdir) filepattern = path.pattern(path.translate(filepattern)) if fileitem:match(filepattern) then if mode == "plain" then - filter = path.translate(filegroup) + filter = path.normalize(filegroup) else -- file tree mode (default) - filter = path.join(filegroup, path.directory(fileitem)) + filter = path.normalize(path.join(filegroup, path.directory(fileitem))) end if filter and filter == '.' then filter = nil |
