aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 511316d..66456b7 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -12,5 +12,8 @@ build_docs = doxygen.found() and sphinx_build.found()
if build_docs
subdir('_static')
subdir('c')
- subdir('cpp')
+
+ if not get_option('docs_cpp').disabled()
+ subdir('cpp')
+ endif
endif