summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index fa0d7a97d..48e4e4e80 100644
--- a/meson.build
+++ b/meson.build
@@ -198,7 +198,7 @@ subdirs = [
# Conditional building #
########################
-if gi_docgen.found()
+if get_option('docs')
subdirs += 'docs'
endif
if get_option('tests') != 'none'