From fe2c413cb71e566bf785d7fffee1ff09c07dd89b Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 1 May 2013 14:16:07 +0000 Subject: [PATCH] fixed: mac build fails on 10.8 (osx sysroot not set automatically) --- tools/build/toolchain.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build/toolchain.py b/tools/build/toolchain.py index 86c6064c..852d81ef 100644 --- a/tools/build/toolchain.py +++ b/tools/build/toolchain.py @@ -207,6 +207,9 @@ class InternalCommands: config = self.getConfig() config.set('cmake', 'mac_sdk', self.macSdk) self.write_config(config) + elif sys.platform == "darwin": + # seems that this is now needed on 10.8 + raise Exception("Arg missing: --mac-sdk "); # if not visual studio, use parent dir sourceDir = generator.getSourceDir()