summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2014-11-29 15:32:14 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2014-11-29 15:32:44 +0100
commit6a49d59e7eb616c2f9d26718d93cd3d0ff70de93 (patch)
treee100da119f841413d9cd4711979ab28fc2148867 /server
parent238765fb7bd0057df50e27cf4bcd7dc9bc8bdc36 (diff)
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" ^
Diffstat (limited to 'server')
-rw-r--r--server/tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
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) \