From: Jon TURNEY Date: Fri, 1 Mar 2013 15:21:07 +0000 (+0000) Subject: Fix out-of-tree build of 'make check' in src/mesa/main/tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87fdcd87b163176dc7336a88c81f4b2d8f160231;p=mesa.git Fix out-of-tree build of 'make check' in src/mesa/main/tests Signed-off-by: Jon TURNEY Reviewed-by: Andreas Boll --- diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am index 012b353af12..4acc815e6f2 100644 --- a/src/mesa/main/tests/Makefile.am +++ b/src/mesa/main/tests/Makefile.am @@ -4,10 +4,10 @@ AM_CFLAGS = \ $(X11_CFLAGS) \ $(PTHREAD_CFLAGS) AM_CPPFLAGS = \ - -I$(top_builddir)/src/gtest/include \ - -I$(top_builddir)/src/mapi \ - -I$(top_builddir)/src/mesa \ - -I$(top_builddir)/include \ + -I$(top_srcdir)/src/gtest/include \ + -I$(top_srcdir)/src/mapi \ + -I$(top_srcdir)/src/mesa \ + -I$(top_srcdir)/include \ $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS) TESTS = main-test