diff --git a/branches/voxel/SConstruct b/branches/voxel/SConstruct index 926f22fb..78e2442d 100644 --- a/branches/voxel/SConstruct +++ b/branches/voxel/SConstruct @@ -162,6 +162,8 @@ else: if env['OPENGL'] and conf.CheckLibWithHeader('GL', 'GL/gl.h', 'c', autoadd=1): conf.env.Append(CCFLAGS = "-DOPENGL") + conf.CheckLibWithHeader('GLU', 'GL/glu.h', 'c', autoadd=1) + conf.env.Append(CPPDEFINES = ['PSS_STYLE=1']) env = conf.Finish() diff --git a/branches/voxel/src/drivers/sdl/SConscript b/branches/voxel/src/drivers/sdl/SConscript index 23e11b95..9f2aa4c8 100644 --- a/branches/voxel/src/drivers/sdl/SConscript +++ b/branches/voxel/src/drivers/sdl/SConscript @@ -14,6 +14,7 @@ source_list = Split( sdl-sound.cpp sdl-throttle.cpp sdl-video.cpp + sdl-voxel.cpp unix-netplay.cpp """)