mesa/st: Include builddir/src/compiler/glsl to fix make check
authorAaron Watry <awatry@gmail.com>
Sun, 10 Sep 2017 18:05:35 +0000 (13:05 -0500)
committerAaron Watry <awatry@gmail.com>
Tue, 12 Sep 2017 01:18:18 +0000 (20:18 -0500)
Otherwise, when doing an out-of-tree build you can expect the following:

make[6]: Entering directory \
         '${MESA_SRC}/build/src/mesa/state_tracker/tests'
  CXX      test_glsl_to_tgsi_lifetime.o
In file included from \
    ${MESA_SRC}/src/mesa/src/mesa/state_tracker/st_glsl_to_tgsi_private.h:31:0,
  from \
    ${MESA_SRC}/src/mesa/src/mesa/state_tracker/st_glsl_to_tgsi_temprename.h:27,
  from \
    ${MESA_SRC}/src/mesa/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp:24:
  ${MESA_SRC}/src/compiler/glsl/ir.h:1502:37: \
    fatal error: ir_expression_operation.h: No such file or directory
 #include "ir_expression_operation.h"

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Gert Wollny <gw.fossdev@gmail.com>
src/mesa/state_tracker/tests/Makefile.am

index 12ae7fab1060ece6cf02f657b2435b5daac75e06..cd610e0adfaa5ad59dd3b4951af1b55072c7caf7 100644 (file)
@@ -13,6 +13,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/gallium/include \
        -I$(top_srcdir)/src/gallium/auxiliary \
+       -I$(top_builddir)/src/compiler/glsl \
        $(DEFINES)
 
 TESTS = st-renumerate-test