fixed: mac build fails on 10.8 (osx sysroot not set automatically)

This commit is contained in:
Nick Bolton 2013-05-01 14:16:07 +00:00
parent cd21d2b875
commit fe2c413cb7
1 changed files with 3 additions and 0 deletions

View File

@ -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 <version>");
# if not visual studio, use parent dir
sourceDir = generator.getSourceDir()