build-sys: meson: make doxygen optional

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/558>
This commit is contained in:
Igor V. Kovalenko 2021-05-19 00:52:56 +03:00
parent 6e04c0a704
commit edae28e9b5
2 changed files with 6 additions and 1 deletions

View file

@ -781,7 +781,9 @@ check_dep = dependency('check', version : '>= 0.9.10', required : get_option('te
# Subdirs
subdir('doxygen')
if get_option('doxygen')
subdir('doxygen')
endif
subdir('po')
if get_option('man')
subdir('man')