Mesa (master): Fix out-of-tree build of 'make check' in src/mesa/main/tests

Jon TURNEY jturney at kemper.freedesktop.org
Tue Mar 5 13:34:41 UTC 2013


Module: Mesa
Branch: master
Commit: 87fdcd87b163176dc7336a88c81f4b2d8f160231
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=87fdcd87b163176dc7336a88c81f4b2d8f160231

Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Fri Mar  1 15:21:07 2013 +0000

Fix out-of-tree build of 'make check' in src/mesa/main/tests

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>

---

 src/mesa/main/tests/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am
index 012b353..4acc815 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




More information about the mesa-commit mailing list