summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormclee <[email protected]>2019-11-23 11:04:53 +0800
committermclee <[email protected]>2019-11-23 11:04:53 +0800
commita027cf0843001dd2cb608c1c42cf643f48a56749 (patch)
tree61c7427ec6d1ac0ab31f61cdd3a6b8cabe467c2c
parent28a908469c7cedc5975afe5ac4503e884968dd0c (diff)
get correct windows sdk version for vsxmake plugin
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index 33c514a9a..4f9c4e5d6 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -172,9 +172,6 @@ function _make_targetinfo(mode, arch, target)
for k, v in pairs(configcache:get("options_" .. target:name())) do
if k ~= "plat" and k ~= "mode" and k ~= "arch" and k ~= "clean" and k ~= "buildir" then
table.insert(flags, "--" .. k .. "=" .. tostring(v));
- if k == "vs_sdkver" then
- targetinfo.sdkver = tostring(v)
- end
end
end
targetinfo.configflags = os.args(flags)