Fix out-of-tree build of 'make check' in src/mapi/glapi/tests/
authorJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 26 Feb 2013 16:02:13 +0000 (16:02 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 13 Mar 2013 14:53:36 +0000 (14:53 +0000)
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/mapi/glapi/tests/Makefile.am

index a23eef2ccd7cfb7f940f9a10275f7ab8db9ae883..3553b998a8866052e3fade15e88a3d782faeb791 100644 (file)
@@ -1,9 +1,9 @@
 if !HAVE_SHARED_GLAPI
 AM_CFLAGS = $(PTHREAD_CFLAGS)
 AM_CPPFLAGS = \
-       -I$(top_builddir)/src/gtest/include \
-       -I$(top_builddir)/src/mapi \
-       -I$(top_builddir)/include
+       -I$(top_srcdir)/src/gtest/include \
+       -I$(top_srcdir)/src/mapi \
+       -I$(top_srcdir)/include
 
 TESTS = glapi-test
 check_PROGRAMS = glapi-test