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 <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2023-06-27 14:53:36 +01:00
parent 0990106501
commit 7d4f6673b9

View File

@ -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()