From: Jon TURNEY Date: Fri, 8 Nov 2013 13:22:54 +0000 (+0000) Subject: Fix 'make check' in src/mapi/glapi/tests when builddir != srcdir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61e0f111706a225444c927a6aeb6107b9aafe17f;p=mesa.git Fix 'make check' in src/mapi/glapi/tests when builddir != srcdir make[5]: Entering directory `/jhbuild/build/mesa/mesa/src/mapi/glapi/tests' CXX check_table.o /jhbuild/checkout/mesa/mesa/src/mapi/glapi/tests/check_table.cpp:29:30: fatal error: glapi/glapitable.h: No such file or directory We should look for the generated file glapi/glapitable.h in builddir, not srcdir Signed-off-by: Jon TURNEY --- diff --git a/src/mapi/glapi/tests/Makefile.am b/src/mapi/glapi/tests/Makefile.am index 26149c902ac..da1094bf214 100644 --- a/src/mapi/glapi/tests/Makefile.am +++ b/src/mapi/glapi/tests/Makefile.am @@ -3,6 +3,7 @@ AM_CFLAGS = $(PTHREAD_CFLAGS) AM_CPPFLAGS = \ $(DEFINES) \ -I$(top_srcdir)/src/gtest/include \ + -I$(top_builddir)/src/mapi \ -I$(top_srcdir)/src/mapi \ -I$(top_srcdir)/include