aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Build-options.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Build-options.md')
-rw-r--r--docs/markdown/Build-options.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md
index f70dda5..9ccdf83 100644
--- a/docs/markdown/Build-options.md
+++ b/docs/markdown/Build-options.md
@@ -107,6 +107,13 @@ $ meson configure "-Doption=['a,b', 'c,d']"
The inner values must always be single quotes and the outer ones
double quotes.
+To change values in subprojects prepend the name of the subproject and
+a colon:
+
+```console
+$ meson configure -Dsubproject:option=newvalue
+```
+
**NOTE:** If you cannot call `meson configure` you likely have a old
version of Meson. In that case you can call `mesonconf` instead, but
that is deprecated in newer versions