Check for OpenGL libraries in configure step
This commit is contained in:
parent
4b9987b119
commit
7c65dcfaa2
2
wscript
2
wscript
@ -14,8 +14,10 @@ def configure(conf):
|
||||
conf.check_cfg(package = "freetype2", uselib_store = "FreeType2", args = "--cflags --libs")
|
||||
if platform.system() == "Linux":
|
||||
conf.check(header_name = "X11/Xlib.h", global_define = False)
|
||||
conf.check(lib = 'GL', global_define = False)
|
||||
elif platform.system() == "Windows":
|
||||
conf.check(header_name = "windows.h", global_define = False)
|
||||
conf.check(lib = 'opengl32', global_define = False)
|
||||
|
||||
def build(bld):
|
||||
defines = ['APPNAME="%s"' % APPNAME]
|
||||
|
Loading…
x
Reference in New Issue
Block a user