summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-11 23:27:20 +0800
committerruki <[email protected]>2025-06-11 23:27:20 +0800
commitb18a8d7f74da0dc155eff9b6ed5e1d918ecede86 (patch)
tree0d3925b1df5984786dc2356cc95a13db71a6df9d
parent18d52f33a6d4345db39240d15d27d52fa36a4b4d (diff)
-a
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index ad3b77c3c..670f5d994 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -498,7 +498,7 @@ function main(outputdir, vsinfo)
_target.targetname = targetname
_target.targetname_inpath = vsutils.translate_path(targetname)
_target.vcxprojdir = path.join(vsinfo.vcxproj_rootdir, targetname)
- _target.vcxprojdir_relative_sln = path.relative(_target.vcxprojdir, vsinfo.solution_dir)
+ _target.vcxprojdir_relative_sln = vsutils.translate_path(path.relative(_target.vcxprojdir, vsinfo.solution_dir))
_target.target_id = hash.uuid4(targetname)
_target.kind = target:kind()
_target.absscriptdir = target:scriptdir()