summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-10 00:52:16 +0800
committerruki <[email protected]>2025-06-10 00:52:16 +0800
commitdfd765e0522345a376f019f655915827e23f69b2 (patch)
treed8bddea23adc537e9794de1bd56d805ec1819677
parent15ce1c9a791d90ca0d714c8b39068c3ab3d354e0 (diff)
fix cp props
-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