mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 06:58:16 +02:00
scons: Add glsl/glcpp to the include path.
Fixes this build failure on Solaris. Compiling build/sunos-debug/glsl/glcpp/glcpp-lex.c ... "src/glsl/glcpp/glcpp-lex.l", line 30: cannot find include file: "glcpp-parse.h" Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
78ac9af580
commit
37d699a296
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ env.Prepend(CPPPATH = [
|
|||
'#src/glsl/glcpp',
|
||||
])
|
||||
|
||||
# Make glcpp/glcpp-parse.h and glsl_parser.h reacheable from the include path
|
||||
env.Append(CPPPATH = [Dir('.').abspath])
|
||||
# Make glcpp-parse.h and glsl_parser.h reachable from the include path.
|
||||
env.Append(CPPPATH = [Dir('.').abspath, Dir('glcpp').abspath])
|
||||
|
||||
env.Append(YACCFLAGS = '-d')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue