summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-06-01 00:49:55 +0800
committerruki <[email protected]>2022-06-01 00:49:55 +0800
commit1dd24c1bde8636f1f24189f11a405b8174b68191 (patch)
treef0747335668f548b4dac40cbf136072c8e0c5b68
parent672b4781acbb68fa0e97e35003a15747a9e938cf (diff)
fix vsxmake
-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 f6381e09c..a64381cd0 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -361,7 +361,7 @@ function _make_filter(filepath, target, vcxprojdir)
local mode = extraconf.mode
for _, filepattern in ipairs(files) do
filepattern = path.pattern(path.absolute(path.join(rootdir, filepattern)))
- if fileitem:match(filepattern) then
+ if filepath:match(filepattern) then
if mode == "plain" then
filter = path.normalize(filegroup)
else