fixed: mac build fails on 10.8 (osx sysroot not set automatically)
This commit is contained in:
parent
cd21d2b875
commit
fe2c413cb7
|
@ -207,6 +207,9 @@ class InternalCommands:
|
||||||
config = self.getConfig()
|
config = self.getConfig()
|
||||||
config.set('cmake', 'mac_sdk', self.macSdk)
|
config.set('cmake', 'mac_sdk', self.macSdk)
|
||||||
self.write_config(config)
|
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
|
# if not visual studio, use parent dir
|
||||||
sourceDir = generator.getSourceDir()
|
sourceDir = generator.getSourceDir()
|
||||||
|
|
Loading…
Reference in New Issue