docs/reference: depend on a native gtk-doc

In a cross-compiled environment we don't need a target gtk-doc, but a
native gtk-doc.
This commit is contained in:
Ross Burton 2023-12-11 16:27:21 +00:00
parent 03f7c1fbf3
commit 54b081248a

View File

@ -42,7 +42,7 @@ ignore_decorators = '|'.join(ignore_decorators)
if get_option('gtk_doc')
# Check we have the minimum gtk-doc version required. Older versions won't
# generate correct documentation.
dependency('gtk-doc', version : '>=1.32.1',
dependency('gtk-doc', version : '>=1.32.1', native: true,
fallback : ['gtk-doc', 'dummy_dep'],
default_options : ['tests=false'])