From: Rico Schüller Date: Mon, 11 Nov 2013 20:18:27 +0000 (+0100) Subject: tests: Fix make check for out of tree builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23afe71f444067cad927273728529ff15ba394df;p=mesa.git tests: Fix make check for out of tree builds. Cc: "10.0" Reviewed-by: Matt Turner Signed-off-by: Rico Schüller --- diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am index 98065fc7607..7e71b4fd1af 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 97713f2c38e..0d3a51f3962 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)