summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2012-02-26 16:36:55 -0500
committerGaetan Nadon <memsize@videotron.ca>2012-02-26 18:02:05 -0500
commit131c80ac6b199988b08df26f30dabe1c7ba9684a (patch)
tree5de481eeb1a9504145c7b054884414e31c880038
parent35d0a43e9a059e54e95fda1211112104ad6ad262 (diff)
examples/test.cpp: fatal error: X11/Xlib.h: No such file or directory
Need XSERVER_CFLAGS to locate Xlib.h Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--examples/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 5f57519..7076623 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -22,10 +22,8 @@ noinst_PROGRAMS = xorg-gtest-example
xorg_gtest_example_SOURCES = xorg-gtest.cpp
-xorg_gtest_example_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- $(GTEST_CPPFLAGS) \
- -I$(top_srcdir)/include
+AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CXXFLAGS = $(XSERVER_CFLAGS) $(GTEST_CPPFLAGS)
xorg_gtest_example_LDADD = $(top_builddir)/src/libxorg-gtest.la $(top_builddir)/src/libxorg-gtest_main.la -lgtest -lpthread -lX11