summaryrefslogtreecommitdiffstats
path: root/tests/glx/Makefile.am
diff options
context:
space:
mode:
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