[doc] Don’t automatically skip building docs on Windows

Respect the option setting.
This commit is contained in:
Khaled Hosny 2022-12-24 17:03:57 +02:00 committed by خالد حسني (Khaled Hosny)
parent 0066e824f0
commit 1f3c042ff5
2 changed files with 1 additions and 5 deletions

View File

@ -61,6 +61,7 @@ jobs:
meson build \
--wrap-mode=nodownload \
--auto-features=enabled \
-Ddocs=disabled \
-Ddirectwrite=enabled \
-Dgdi=enabled \
-Dgraphite=enabled \

View File

@ -1,8 +1,3 @@
if build_machine.system() == 'windows'
message('Skipping gtk-doc while building on Windows')
subdir_done()
endif
if not find_program('gtkdoc-scan', required: get_option('docs')).found()
message('Not building documentation as gtk-doc was not found')
subdir_done()