From 7737be6dff57b0f85aa62ec8fa9e147b8fe9e6ff Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Wed, 14 Aug 2019 17:17:26 +0800 Subject: fix --- xmake/plugins/project/vsxmake/getinfo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1