[PATCH 1/2] meson: make the default value of "documentation" feature explicit
Quentin Schulz
foss+libcamera at 0leil.net
Fri Apr 4 18:12:34 CEST 2025
From: Quentin Schulz <quentin.schulz at cherry.de>
The meson documentation on the feature build options isn't clear if a
missing "value" is legal and if it is, what its default value is.[1]
Therefore, let's make it explicit by using what is experimentally the
default: auto.
[1] https://mesonbuild.com/Build-options.html#features
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
meson_options.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson_options.txt b/meson_options.txt
index 1877d800..2104469e 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -18,6 +18,7 @@ option('cam',
option('documentation',
type : 'feature',
+ value : 'auto',
description : 'Generate the project documentation')
option('doc_werror',
More information about the libcamera-devel
mailing list