summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorRicardo Ribalda <ricardo@ribalda.com>2020-09-24 09:19:20 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-24 21:08:30 +0300
commitaba567338b25c8cefe9e9e257d34ad3a61776276 (patch)
treeb46c8f2690d89542811bb4171d7f5b7ef190bc54 /meson.build
parent4e998cea15cf3d962473aa5faab99f939d9dc0dd (diff)
Documentation: Move all dependencies into features
This way if the user enables the documentation and the dependencies are missing the configure fails. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index dd71390b..6d750141 100644
--- a/meson.build
+++ b/meson.build
@@ -110,9 +110,7 @@ subdir('src')
# The documentation and test components are optional and can be disabled
# through configuration values. They are enabled by default.
-if get_option('documentation')
- subdir('Documentation')
-endif
+subdir('Documentation')
if get_option('test')
subdir('test')