Mesa (master): tests: Fix make check for out of tree builds.
Matt Turner
mattst88 at kemper.freedesktop.org
Mon Nov 11 22:06:37 UTC 2013
Module: Mesa
Branch: master
Commit: 23afe71f444067cad927273728529ff15ba394df
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=23afe71f444067cad927273728529ff15ba394df
Author: Rico Schüller <kgbricola at web.de>
Date: Mon Nov 11 21:18:27 2013 +0100
tests: Fix make check for out of tree builds.
Cc: "10.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Rico Schüller <kgbricola at web.de>
---
src/mapi/shared-glapi/tests/Makefile.am | 1 +
src/mesa/main/tests/Makefile.am | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
index 98065fc..7e71b4f 100644
--- a/src/mapi/shared-glapi/tests/Makefile.am
+++ b/src/mapi/shared-glapi/tests/Makefile.am
@@ -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
diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am
index 97713f2..0d3a51f 100644
--- a/src/mesa/main/tests/Makefile.am
+++ b/src/mesa/main/tests/Makefile.am
@@ -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)
More information about the mesa-commit
mailing list