summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x.lua2
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua
index 7bc9f9d45..10784c5ea 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x.lua
@@ -238,7 +238,7 @@ function make(outputdir, vsinfo)
project.clear()
-- check platform
- platform.load(config.plat()):check()
+ platform.load(config.plat(), arch):check()
-- check project options
project.check()
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index 0ba11514c..7a82036bc 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -297,7 +297,7 @@ function main(outputdir, vsinfo)
project.clear()
-- check platform
- platform.load(config.plat()):check()
+ platform.load(config.plat(), arch):check()
-- check project options
project.check()