scons/glsl: add top-level 'include' dir to CPPPATH
authorBrian Paul <brianp@vmware.com>
Mon, 31 Jan 2011 21:07:12 +0000 (14:07 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 31 Jan 2011 21:09:24 +0000 (14:09 -0700)
To avoid using the /usr/include/GL/gl.h file which may be lacking
some special #defines.

src/glsl/SConscript

index 6a2347625c7a32892fa93ac3aa9c4dcc160130f5..2cc7b0eda7a4ca0878dc50ddcb624456e8d9c0b5 100644 (file)
@@ -7,6 +7,7 @@ from sys import executable as python_cmd
 env = env.Clone()
 
 env.Prepend(CPPPATH = [
+    '#include',
     '#src/mapi',
     '#src/mesa',
     '#src/glsl',