--opengl works now, had to fix dep issues in linux. TODO: --opengl-renderer

This commit is contained in:
Bryan Hoyle 2012-08-12 13:52:22 -04:00
parent 7084c8be28
commit 859aa0cf14

View File

@ -134,6 +134,8 @@ if(GetOption('win')):
env.Append(CPPDEFINES=['__CRT__NO_INLINE'])
env.Append(LINKFLAGS=['-Wl,--stack=16777216'])
if(GetOption('lin')):
if(GetOption('opengl')):
env.ParseConfig('pkg-config --libs glew gl glu')
openGLLibs = ['GL']
env.Append(LIBS=['X11', 'rt'])
env.Append(CPPDEFINES=["LIN"])