Browse Source

Fix for -xp variants in toolchain (#158)

James Mintram 8 years ago
parent
commit
70fbef6998
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/toolchain.lua

+ 2 - 2
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