aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/SConscript')
-rw-r--r--src/compiler/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/SConscript b/src/compiler/SConscript
index 10c79c44348..44509a9a95b 100644
--- a/src/compiler/SConscript
+++ b/src/compiler/SConscript
@@ -13,6 +13,10 @@ env.Prepend(CPPPATH = [
'#src/gallium/auxiliary',
])
+# Make generated headers reachable from the include path.
+env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath])
+env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
+
sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES')
compiler = env.ConvenienceLibrary(