From d8b7d12707915b8057d2d5330869600cb1b16768 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Thu, 3 Dec 2015 20:39:29 -0800 Subject: [PATCH] combine checks for "ios" premake option The "ios" option now only makes sense when action is "xcode" --- build3/premake4.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build3/premake4.lua b/build3/premake4.lua index 3fb80e839..d3eed9829 100644 --- a/build3/premake4.lua +++ b/build3/premake4.lua @@ -125,6 +125,9 @@ if _ACTION == "xcode4" then if _OPTIONS["ios"] then + _OPTIONS["no-bullet3"] = "1" + _OPTIONS["no-gtest"] = "1" + postfix = "ios"; xcodebuildsettings { @@ -167,11 +170,6 @@ language "C++" - if _OPTIONS["ios"] then - _OPTIONS["no-bullet3"] = "1" - _OPTIONS["no-gtest"] = "1" - end - if _OPTIONS["no-bullet3"] then _OPTIONS["no-demos"] = "1" else