summaryrefslogtreecommitdiffstats
path: root/tests/glx/Makefile.am
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-03-29 15:31:55 -0700
committerIan Romanick <[email protected]>2012-04-12 17:19:19 -0700
commit0d2bc18e4dd37892f2de0cf0cf4b9ed44cbc0cbc (patch)
treea9b3b4a3def4e4a2441937f37b42646b517d19a2 /tests/glx/Makefile.am
parent94726d263ebee6364e9be2f254c3ca7d1f85dde4 (diff)
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 <[email protected]> Reviewed-by: Chad Versace <[email protected]> Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tests/glx/Makefile.am')
-rw-r--r--tests/glx/Makefile.am11
1 files 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