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