Commit d97ba9db3ab6aea2c7e136f5ed04da137e67da53

Authored by Yegor Yefremov
1 parent 8bb8be2d

Enable out-of-source build

Add top build directory to tests. Otherwise modbus-version.h
won't be found during the build process.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Showing 1 changed file with 2 additions and 1 deletions
tests/Makefile.am
@@ -41,7 +41,8 @@ AM_CPPFLAGS = \ @@ -41,7 +41,8 @@ AM_CPPFLAGS = \
41 -include $(top_builddir)/config.h \ 41 -include $(top_builddir)/config.h \
42 -DSYSCONFDIR=\""$(sysconfdir)"\" \ 42 -DSYSCONFDIR=\""$(sysconfdir)"\" \
43 -DLIBEXECDIR=\""$(libexecdir)"\" \ 43 -DLIBEXECDIR=\""$(libexecdir)"\" \
44 - -I${top_srcdir}/src 44 + -I${top_srcdir}/src \
  45 + -I${top_builddir}/src
45 46
46 AM_CFLAGS = ${my_CFLAGS} 47 AM_CFLAGS = ${my_CFLAGS}
47 48