Prechádzať zdrojové kódy

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>
Yegor Yefremov 12 rokov pred
rodič
commit
d97ba9db3a
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      tests/Makefile.am

+ 2 - 1
tests/Makefile.am

@@ -41,7 +41,8 @@ AM_CPPFLAGS = \
     -include $(top_builddir)/config.h \
     -DSYSCONFDIR=\""$(sysconfdir)"\" \
     -DLIBEXECDIR=\""$(libexecdir)"\" \
-    -I${top_srcdir}/src
+    -I${top_srcdir}/src \
+    -I${top_builddir}/src
 
 AM_CFLAGS = ${my_CFLAGS}