Add IOKit on Mac

See http://code.google.com/p/poly2tri/issues/detail?id=50
This commit is contained in:
Jan Niklas Hasse 2014-02-25 22:21:32 +01:00
parent feab1de1bc
commit fe48835009

View File

@ -40,8 +40,8 @@ def configure(conf):
conf.env.DEFINES_P2T = ['P2T']
conf.env.LIB_P2T = sys_libs
if sys.platform == 'darwin':
conf.env.FRAMEWORK = ['OpenGL', 'Cocoa']
conf.env.FRAMEWORK = ['OpenGL', 'Cocoa', 'IOKit']
def build(bld):
print(' building')
bld.program(features = 'cxx cxxprogram', source=CPP_SOURCES, target = 'p2t', uselib = 'P2T')
bld.program(features = 'cxx cxxprogram', source=CPP_SOURCES, target = 'p2t', uselib = 'P2T')