소스 검색

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}