diff options
-rw-r--r-- | src/expr/Makefile.am | 2 | ||||
-rw-r--r-- | src/options/Makefile.am | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/expr/Makefile.am b/src/expr/Makefile.am index 1334a8804..e45c765c0 100644 --- a/src/expr/Makefile.am +++ b/src/expr/Makefile.am @@ -6,6 +6,8 @@ # in particular were breaking it # Building with coverage will cause portability issues in some cases +VPATH = $(if $(COVERAGE_ON), $(realpath @srcdir@), @srcdir@) + AM_CPPFLAGS = \ -D__BUILDING_CVC4LIB \ $(if $(COVERAGE_ON), -I@abs_builddir@/.. -I@abs_srcdir@/../include -I@abs_srcdir@/.., \ diff --git a/src/options/Makefile.am b/src/options/Makefile.am index bca6ca16e..5a9fa54e6 100644 --- a/src/options/Makefile.am +++ b/src/options/Makefile.am @@ -20,6 +20,7 @@ # in particular were breaking it # Building with coverage will cause portability issues in some cases +VPATH = $(if $(COVERAGE_ON), $(realpath @srcdir@), @srcdir@) OPTIONS_SRC_FILES = \ arith_options \ |