Skip to content
Snippets Groups Projects
Commit 11f4fe79 authored by Thibault Saunier's avatar Thibault Saunier :cactus:
Browse files

doc: Require hotdoc >= 0.11.0

parent 6482651c
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,17 @@ if not hotdoc_p.found()
subdir_done()
endif
hotdoc_req = '>= 0.11.0'
hotdoc_version = run_command(hotdoc_p, '--version').stdout()
if not hotdoc_version.version_compare(hotdoc_req)
if get_option('doc').enabled()
error('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
else
message('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
subdir_done()
endif
endif
hotdoc = import('hotdoc')
foreach extension: required_hotdoc_extensions
if not hotdoc.has_extensions(extension)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment