From 62f40ab204bfc20c5e8bc70f936283e668bc00b4 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 4 Mar 2015 14:16:46 +0100 Subject: build-sys: fix out-of-tree build from tarball There are generated files in build directory too. Fixes: CC util.o In file included from ../../tests/session.c:3:0: ../../gtk/spice-session.h:24:30: fatal error: spice-glib-enums.h: No such file or directory #include "spice-glib-enums.h" --- tests/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 10a7722..0a839e4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -13,7 +13,9 @@ endif TESTS = $(noinst_PROGRAMS) AM_CPPFLAGS = \ - $(GIO_CFLAGS) -I$(top_srcdir)/gtk \ + $(GIO_CFLAGS) \ + -I$(top_srcdir)/gtk \ + -I$(top_builddir)/gtk \ -DG_LOG_DOMAIN=\"GSpice\" \ $(NULL) -- cgit v1.2.3