build: Yield 'man' option to extension-tool subproject

Turns out meson has a build-in pattern of what we are doing, namely:
Set a subproject option to a parent project option of the same name.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1072
This commit is contained in:
Florian Müllner
2020-03-05 03:54:23 +01:00
parent 49e4757c0b
commit 8f851e8adf
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
option('man',
type: 'boolean',
value: true,
description: 'Generate man pages'
description: 'Generate man pages',
yield: true,
)
option('package_name',