From 2aebff0983ea96011106ceacb304bce8bf6f9c01 Mon Sep 17 00:00:00 2001 From: makaimann Date: Fri, 12 May 2017 13:09:13 -0700 Subject: [PATCH] Adding VPATH back in --- src/expr/Makefile.am | 2 ++ src/options/Makefile.am | 1 + 2 files changed, 3 insertions(+) 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 \ -- 2.30.2