summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-03 23:51:48 +0800
committerruki <[email protected]>2025-06-03 23:51:48 +0800
commit08b1b83e2ea26ff9cba52df62ec6e41376f9177e (patch)
tree169e72d2d11081d4d131f9a7d9eb6fd3bcca3cfc
parent57c4e3b1c16bbf59b3e7d9787768f20894d00437 (diff)
fix path
-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 7108c57a9..d9c4b4b6b 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -497,7 +497,7 @@ function main(outputdir, vsinfo)
-- init target info
_target.target = targetname
_target.vcxprojdir = path.join(vsinfo.vcxproj_rootdir, targetname)
- _target.vcxprojdir_relative_sln = path.join(_target.vcxprojdir, vsinfo.solution_dir)
+ _target.vcxprojdir_relative_sln = path.relative(_target.vcxprojdir, vsinfo.solution_dir)
_target.target_id = hash.uuid4(targetname)
_target.kind = target:kind()
_target.absscriptdir = target:scriptdir()