ソースを参照

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 年 前
コミット
d97ba9db3a
1 ファイル変更2 行追加1 行削除
  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}