mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
meson: Disable docs completely when the option is disabled
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1496>
This commit is contained in:
parent
8f997ea4e3
commit
6f8fc5f178
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
build_hotdoc = false
|
build_hotdoc = false
|
||||||
|
|
||||||
|
if get_option('doc').disabled()
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
if meson.is_cross_build()
|
if meson.is_cross_build()
|
||||||
if get_option('doc').enabled()
|
if get_option('doc').enabled()
|
||||||
error('Documentation enabled but building the doc while cross building is not supported yet.')
|
error('Documentation enabled but building the doc while cross building is not supported yet.')
|
||||||
|
|
Loading…
Reference in a new issue