From 11e2204cb56fabfa20baa058446dca308316b4f6 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 26 Mar 2023 23:40:20 +0000 Subject: specify gi-docgen as a native dependency this allows for cross-compilation. successfully in use by NixOS/nixpkgs here: - other gnome projects already specifying gi-docgen as native dependency: - [gtk](https://gitlab.gnome.org/GNOME/gtk/-/blob/8cf3a95d8cd5c79d941b6430f00647caa9b52eb0/docs/reference/meson.build#L4) - [libadwaita](https://gitlab.gnome.org/GNOME/libadwaita/-/blob/fc27700ea2463c9670cd2fb264697d52cba68b89/doc/meson.build#L27) - [libhandy](https://gitlab.gnome.org/GNOME/libhandy/-/blob/691fa96e17172a7c1605c59005ea8021cdf3d056/doc/meson.build#L18) --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index b60dacc..90b18e5 100644 --- a/meson.build +++ b/meson.build @@ -57,6 +57,7 @@ subdir('tools') gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1', fallback: ['gi-docgen', 'dummy_dep'], + native: true, required: get_option('gtk_doc') and get_option('introspection') ) -- cgit v1.2.1