summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-03-04 14:16:46 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2015-03-04 14:16:48 +0100
commit62f40ab204bfc20c5e8bc70f936283e668bc00b4 (patch)
tree95db02b4f80112177ae7463dd555d9d0c77348e4
parentf74b44033e5a95f94ecb3e8f00f5a90bd1648d29 (diff)
build-sys: fix out-of-tree build from tarballv0.28
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"
-rw-r--r--tests/Makefile.am4
1 files changed, 3 insertions, 1 deletions
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)