From 6a49d59e7eb616c2f9d26718d93cd3d0ff70de93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 29 Nov 2014 15:32:14 +0100 Subject: [PATCH] build-sys: fix out-of-tree build of tests Fixes the following build error: In file included from /home/elmarco/src/spice-new/src/spice/server/tests/test_display_base.h:4:0, from /home/elmarco/src/spice-new/src/spice/server/tests/test_display_no_ssl.c:11: /home/elmarco/src/spice-new/src/spice/server/spice.h:23:27: fatal error: spice-version.h: No such file or directory #include "spice-version.h" ^ --- server/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index 233393e9..3a52d5cc 100644 --- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -4,6 +4,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/common \ -I$(top_srcdir)/server \ + -I$(top_builddir)/server \ -I$(top_srcdir)/server/tests \ $(COMMON_CFLAGS) \ $(GLIB2_CFLAGS) \