diff options
| author | OpportunityLiu <[email protected]> | 2019-08-14 17:28:09 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-08-14 17:28:09 +0800 |
| commit | ebe4099e7ea32b023edfc7a5559db5d1d5262e20 (patch) | |
| tree | c0ff730c0f335761df34b73799da04bf3675865a | |
| parent | 7737be6dff57b0f85aa62ec8fa9e147b8fe9e6ff (diff) | |
fix
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 2e9e8ebee..8f456bc38 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -167,8 +167,7 @@ function _make_targetinfo(mode, arch, target) local flags = {} for k, v in pairs(configcache:get("options_" .. target:name())) do if k ~= "plat" and k ~= "mode" and k ~= "arch" then - table.insert(flags, "--" .. k) - table.insert(flags, tostring(v)); + table.insert(flags, "--" .. k .. "=" .. tostring(v)); end end targetinfo.configflags = os.args(flags) |
