summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5364e120b..2e9e8ebee 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -166,7 +166,7 @@ function _make_targetinfo(mode, arch, target)
local configcache = cache("local.config")
local flags = {}
for k, v in pairs(configcache:get("options_" .. target:name())) do
- if k ~= "plat" and k ~= "mode" and k ~= arch then
+ if k ~= "plat" and k ~= "mode" and k ~= "arch" then
table.insert(flags, "--" .. k)
table.insert(flags, tostring(v));
end