summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormakaimann <makaim@stanford.edu>2017-05-12 13:09:13 -0700
committermakaimann <makaim@stanford.edu>2017-05-12 13:09:13 -0700
commit2aebff0983ea96011106ceacb304bce8bf6f9c01 (patch)
treee1ed36ab4e0dd716600b4042e0ce661be5945599
parent220d8a9cf8706bdf28162ff452f58f1262ba691d (diff)
Adding VPATH back in
-rw-r--r--src/expr/Makefile.am2
-rw-r--r--src/options/Makefile.am1
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 \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback