1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-02 15:48:59 +00:00

build: fix docs cross build

gi-docgen is a binary that runs on the build machine, so the meson should
search for it there
This commit is contained in:
Michal Vasilek 2022-07-06 12:47:04 +02:00 committed by Germán Poo-Caamaño
parent 561068f757
commit d830c6fb4d

View File

@ -169,7 +169,8 @@ m_dep = cc.find_library('m')
gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1',
fallback: ['gi-docgen', 'dummy_dep'],
required: get_option('gtk_doc'))
required: get_option('gtk_doc'),
native: true)
# Although GTK+ 3.10 includes hi-dpi functionality, it does not require a cairo with
# cairo_surface_set_device_scale(), which we also need if we're to support hi-dpi,