Fix out-of-tree build of 'make check' in src/mesa/main/tests
[mesa.git] / 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