From 70fbef6998b05a12107197236e6952d001d90bc8 Mon Sep 17 00:00:00 2001 From: James Mintram Date: Tue, 1 Aug 2017 22:04:42 +0100 Subject: [PATCH] Fix for -xp variants in toolchain (#158) --- scripts/toolchain.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 4b60cab..a6007bf 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -459,8 +459,6 @@ function toolchain(_buildDir, _libDir) platforms { "Orbis" } location (path.join(_buildDir, "projects", _ACTION .. "-orbis")) - end - elseif ("vs2012-xp") == _OPTIONS["vs"] then premake.vstudio.toolset = ("v110_xp") location (path.join(_buildDir, "projects", _ACTION .. "-xp")) @@ -477,6 +475,8 @@ function toolchain(_buildDir, _libDir) premake.vstudio.toolset = ("v141_xp") location (path.join(_buildDir, "projects", _ACTION .. "-xp")) + end + elseif _ACTION == "xcode4" then if "osx" == _OPTIONS["xcode"] then