From 30e6c7e7824db5f631305daac6ad6f46b334fb6c Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Thu, 21 Nov 2013 02:32:29 +0000 Subject: [PATCH] voxel: scons scripts modified to build fceux-voxel --- branches/voxel/SConstruct | 2 ++ branches/voxel/src/drivers/sdl/SConscript | 1 + 2 files changed, 3 insertions(+) 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 """)