Fix out-of-tree build of 'make check' in src/mesa/main/tests
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 1 Mar 2013 15:21:07 +0000 (15:21 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 5 Mar 2013 13:33:16 +0000 (13:33 +0000)
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
src/mesa/main/tests/Makefile.am

index 012b353af12a5e842f3b4ce55ea030b37b17e402..4acc815e6f21c5e789d655468b89ab7807549dcd 100644 (file)
@@ -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