X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FSConscript;h=44509a9a95b261a07dd9aeb98319d1b158619212;hb=c6c64d4d6a134231cbdbe09e3c6c87adb811ac7d;hp=8969d8219846c7df720e19777eae08506c37c1d0;hpb=12f88ba32a14ea79134f4e995a55149f078a2f27;p=mesa.git diff --git a/src/compiler/SConscript b/src/compiler/SConscript index 8969d821984..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( @@ -22,3 +26,4 @@ compiler = env.ConvenienceLibrary( Export('compiler') SConscript('SConscript.glsl') +SConscript('SConscript.nir')