From 0d2bc18e4dd37892f2de0cf0cf4b9ed44cbc0cbc Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 29 Mar 2012 15:31:55 -0700 Subject: [PATCH] tests/glx: Point at the imported copy of gtest This is just in case there's one installed on the system. Signed-off-by: Ian Romanick Reviewed-by: Chad Versace Acked-by: Eric Anholt --- tests/glx/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/glx/Makefile.am b/tests/glx/Makefile.am index b5cc0b001ab..f5581d638cc 100644 --- a/tests/glx/Makefile.am +++ b/tests/glx/Makefile.am @@ -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 -- 2.30.2