mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
meson: don't error out if xmllint is not found
Only needed for glib/tests and entirely optional.
This commit is contained in:
parent
ad9d5a11f2
commit
a1fdae8afc
@ -170,7 +170,7 @@ executable('test-spawn-echo', 'test-spawn-echo.c',
|
||||
|
||||
# some testing of gtester functionality
|
||||
if not meson.is_cross_build() and host_system != 'windows'
|
||||
xmllint = find_program('xmllint')
|
||||
xmllint = find_program('xmllint', required: false)
|
||||
if xmllint.found()
|
||||
tmpsample_xml = custom_target('tmpsample.xml',
|
||||
output : 'tmpsample.xml',
|
||||
|
Loading…
x
Reference in New Issue
Block a user