mirror of https://gitlab.com/ita1024/waf.git
prevent demos/mac_app from running on non-mac platforms
This commit is contained in:
parent
77bfe54810
commit
bb6c3702c0
|
@ -18,6 +18,8 @@ def options(opt):
|
|||
|
||||
def configure(conf):
|
||||
conf.load('compiler_c')
|
||||
if not conf.env.ARCH_ST:
|
||||
conf.fatal('This example is for macs only')
|
||||
conf.env.FRAMEWORK_COCOA = 'Cocoa'
|
||||
conf.env.ARCH_COCOA = ['i386', 'x86_64']
|
||||
|
||||
|
|
Loading…
Reference in New Issue