tests: Fix make check for out of tree builds.
authorRico Schüller <kgbricola@web.de>
Mon, 11 Nov 2013 20:18:27 +0000 (21:18 +0100)
committerMatt Turner <mattst88@gmail.com>
Mon, 11 Nov 2013 22:06:17 +0000 (14:06 -0800)
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Rico Schüller <kgbricola@web.de>
src/mapi/shared-glapi/tests/Makefile.am
src/mesa/main/tests/Makefile.am

index 98065fc7607de73b92d46f6bf55b943a98065655..7e71b4fd1af83601f86ede61c4f4a538d7a42722 100644 (file)
@@ -3,6 +3,7 @@ AM_CFLAGS = $(PTHREAD_CFLAGS)
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gtest/include \
        -I$(top_srcdir)/src/mapi \
+       -I$(top_builddir)/src/mapi \
        -I$(top_srcdir)/include
 
 TESTS = shared-glapi-test
index 97713f2c38e7b6fe06219082ed6c352e129e8a03..0d3a51f39625bad60e196399f9190d883b328318 100644 (file)
@@ -7,6 +7,7 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gtest/include \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa \
+       -I$(top_builddir)/src/mesa \
        -I$(top_srcdir)/include \
        $(DEFINES) $(INCLUDE_DIRS)