X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FSConscript;h=44509a9a95b261a07dd9aeb98319d1b158619212;hb=c6c64d4d6a134231cbdbe09e3c6c87adb811ac7d;hp=10c79c4434893186973e50d44314c63bbed73bb7;hpb=5567ae0547d5f31e51e5f32e78065894e594fd1a;p=mesa.git 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(