mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
docs: Specify gi-docgen as a native dependency
gi-docgen is supposed to be ran natively on the build machine. Part-of: <https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3953>
This commit is contained in:
parent
04abb73732
commit
c7476cd615
@ -1,12 +1,13 @@
|
|||||||
if get_option('documentation') and enable_gir
|
if get_option('documentation') and enable_gir
|
||||||
gidocgen_dep = dependency('gi-docgen', version: '>= 2023.1',
|
gidocgen_dep = dependency('gi-docgen', version: '>= 2023.1',
|
||||||
fallback: ['gi-docgen', 'dummy_dep'],
|
fallback: ['gi-docgen', 'dummy_dep'],
|
||||||
|
native: true,
|
||||||
required: true)
|
required: true)
|
||||||
|
|
||||||
toml_conf = configuration_data()
|
toml_conf = configuration_data()
|
||||||
toml_conf.set('VERSION', meson.project_version())
|
toml_conf.set('VERSION', meson.project_version())
|
||||||
|
|
||||||
gidocgen = find_program('gi-docgen', required: true)
|
gidocgen = find_program('gi-docgen', native: true, required: true)
|
||||||
|
|
||||||
gidocgen_common_args = [
|
gidocgen_common_args = [
|
||||||
'--quiet',
|
'--quiet',
|
||||||
|
Loading…
Reference in New Issue
Block a user