From d8a48784795cf71730717717f6b9f75be0b80d16 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 2 May 2018 15:12:24 +0200 Subject: Make building tests optional. --- Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9477c1c..ce8de5e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,8 @@ +SUBDIRS = src -SUBDIRS = \ - src \ - tests +if HAVE_GTEST +SUBDIRS += tests +endif DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall -- cgit v1.2.3