mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-12-02 02:03:30 +01:00
Add IOKit on Mac
See http://code.google.com/p/poly2tri/issues/detail?id=50
This commit is contained in:
parent
feab1de1bc
commit
fe48835009
4
wscript
4
wscript
@ -40,8 +40,8 @@ def configure(conf):
|
|||||||
conf.env.DEFINES_P2T = ['P2T']
|
conf.env.DEFINES_P2T = ['P2T']
|
||||||
conf.env.LIB_P2T = sys_libs
|
conf.env.LIB_P2T = sys_libs
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
conf.env.FRAMEWORK = ['OpenGL', 'Cocoa']
|
conf.env.FRAMEWORK = ['OpenGL', 'Cocoa', 'IOKit']
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
print(' building')
|
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')
|
||||||
|
Loading…
Reference in New Issue
Block a user