From 7d4f6673b9302f6f771daa1c675b77689645b9b0 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 27 Jun 2023 14:53:36 +0100 Subject: [PATCH] build: Call override_find_program() for gtester Just in case anyone tries to look it up using `find_program()` in a `meson.build` in GLib (or a project pulling GLib in as a subproject) in future. Signed-off-by: Philip Withnall --- glib/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glib/meson.build b/glib/meson.build index 898446e00..c26a35e42 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -494,6 +494,9 @@ else c_args : ['-UG_DISABLE_ASSERT'], include_directories : configinc, dependencies : [libglib_dep]) + + # Provide tools for others when we're a subproject and they use the Meson GNOME module + meson.override_find_program('gtester', gtester) endif report_conf = configuration_data()