doc: add workaround for doxygen 1.9.6 bug with cairo >= 1.17.6
Add a workaround to fix rendering the dot files with doxygen 1.9.6 and cairo 1.17.8 on Fedora 38. This is fixed upstream in doxygen 1.9.7, for details see: https://github.com/doxygen/doxygen/issues/9319 Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
40df321d7c
commit
f8611607ec
|
@ -73,11 +73,17 @@ endforeach
|
|||
# and those in toc
|
||||
subdir('toc')
|
||||
|
||||
sphinx_env = []
|
||||
if doxygen_v.version_compare('< 1.9.7')
|
||||
sphinx_env += 'CAIRO_DEBUG_PDF=1'
|
||||
endif
|
||||
|
||||
sphinx_doc = custom_target(
|
||||
'weston-doc-breathe',
|
||||
command: script_doxy_sphinx,
|
||||
output: 'doc',
|
||||
build_by_default: true,
|
||||
env: sphinx_env,
|
||||
)
|
||||
|
||||
# we need this because we will have a stale 'doc' directory
|
||||
|
|
Loading…
Reference in New Issue