From a3f92451ca522092bd12e0c64a73b1154993253d Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 20 Jun 2015 20:34:37 +0800 Subject: install c++ console template --- xmake/scripts/platform/platform.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xmake/scripts/platform/platform.lua') diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua index bad7c8969..c2057e246 100644 --- a/xmake/scripts/platform/platform.lua +++ b/xmake/scripts/platform/platform.lua @@ -157,8 +157,12 @@ end -- make the current platform configure function platform.make() + -- get the platform + local plat = config.get("plat") + assert(plat) + -- make and get the current platform configure - return platform._configs(config.get("plat")) + return platform._configs(plat) end -- get the platform os -- cgit v1.3.1