summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/project/vsxmake/vsxmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/vsxmake.lua b/xmake/plugins/project/vsxmake/vsxmake.lua
index 1bff1b3f2..6477e9982 100644
--- a/xmake/plugins/project/vsxmake/vsxmake.lua
+++ b/xmake/plugins/project/vsxmake/vsxmake.lua
@@ -167,6 +167,7 @@ end
function _trycp(file, target, targetname)
targetname = targetname or path.filename(file)
local targetfile = path.join(target, targetname)
+ targetfile = vsutils.translate_path(targetfile)
if os.isfile(targetfile) then
dprint("skipped file %s since the file already exists", path.relative(targetfile))
return