[Spice-commits] tests/Makefile.am
Marc-André Lureau
elmarco at kemper.freedesktop.org
Wed Mar 4 05:20:40 PST 2015
tests/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 62f40ab204bfc20c5e8bc70f936283e668bc00b4
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Wed Mar 4 14:16:46 2015 +0100
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"
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)
More information about the Spice-commits
mailing list