Merged 15170:15635 from trunk (no conflicts or even merges)
[blender.git] / source / gameengine / Ketsji / SConscript
index cb213522f1d68ee456b974203f7344c4e7502dd0..fdac5a7107106ba01fc1702c3c1fe1785cf01168 100644 (file)
@@ -18,13 +18,16 @@ incs += ' #source/gameengine/SceneGraph #source/gameengine/Physics/common #sourc
 incs += ' #source/gameengine/Physics/BlOde #source/gameengine/Physics/Dummy'
 incs += ' #source/gameengine/Physics/Sumo #source/gameengine/Physics/Sumo/include'
 incs += ' #source/gameengine/Physics/Sumo/Fuzzics/include #source/gameengine/Network/LoopBackNetwork'
-incs += ' #source/blender/misc #source/blender/blenloader'
+incs += ' #source/blender/misc #source/blender/blenloader #extern/glew/include'
 
 cflags = []
 if env['OURPLATFORM'] == 'win32-vc':
        cflags.append('/GR')
        cflags.append('/Ox')
 
+if env['WITH_BF_GLEXT'] == 1:
+        env['CPPFLAGS'].append('-DWITH_GLEXT')
+
 incs += ' ' + env['BF_SOLID_INC']
 incs += ' ' + env['BF_PYTHON_INC']
 incs += ' ' + env['BF_SDL_INC']