OSDN Git Service

tests/glx: Point at the imported copy of gtest
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2012 22:31:55 +0000 (15:31 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 13 Apr 2012 00:19:19 +0000 (17:19 -0700)
This is just in case there's one installed on the system.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Acked-by: Eric Anholt <eric@anholt.net>
tests/glx/Makefile.am

index b5cc0b0..f5581d6 100644 (file)
@@ -1,7 +1,10 @@
-AM_CFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \
-       $(X11_CFLAGS) $(GTEST_CFLAGS)
-AM_CXXFLAGS = -I$(top_builddir)/src/glx -I$(top_builddir)/src/mapi \
-       $(X11_CFLAGS) $(GTEST_CFLAGS)
+INC = \
+       -I$(top_builddir)/src/gtest/include \
+       -I$(top_builddir)/src/mapi \
+       -I$(top_builddir)/src/glx
+
+AM_CFLAGS = $(INC) $(X11_CFLAGS)
+AM_CXXFLAGS = $(INC) $(X11_CFLAGS)
 
 if HAVE_XCB_GLX_CREATE_CONTEXT
 TESTS = glx_unittest