aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 9477c1c..7d71690 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,9 @@
-SUBDIRS = \
- src \
- tests
+SUBDIRS = src
+
+if HAVE_GTEST
+SUBDIRS += tests
+endif
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall