diff options
Diffstat (limited to 'c++/Makefile.am')
-rw-r--r-- | c++/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c++/Makefile.am b/c++/Makefile.am index c4e1c44..98241cc 100644 --- a/c++/Makefile.am +++ b/c++/Makefile.am @@ -19,7 +19,10 @@ include $(top_srcdir)/config/commence.am -SUBDIRS=src test +## Only recurse into subdirectories if C++ interface is enabled. +if BUILD_CXX_CONDITIONAL + SUBDIRS=src test +endif DIST_SUBDIRS = $(SUBDIRS) examples # Clean and mostlyclean need to recurse into examples directory |