tests: Fix out-of-tree builds
authorDaniel Stone <daniel@fooishbar.org>
Tue, 1 May 2012 19:30:12 +0000 (20:30 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 2 May 2012 20:01:04 +0000 (16:01 -0400)
Make sure we include any generated headers from src/ as well, like
wayland-version.h.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
tests/Makefile.am

index 7449545..767919e 100644 (file)
@@ -27,7 +27,7 @@ os_wrappers_test_SOURCES =                    \
        ../src/wayland-os.c                     \
        $(test_runner_src)
 
-AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
+AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) -I../src
 LDADD = $(top_builddir)/src/libwayland-util.la \
        $(top_builddir)/src/libwayland-server.la \
        -lrt -ldl $(FFI_LIBS)