mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25: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
|
# some testing of gtester functionality
|
||||||
if not meson.is_cross_build() and host_system != 'windows'
|
if not meson.is_cross_build() and host_system != 'windows'
|
||||||
xmllint = find_program('xmllint')
|
xmllint = find_program('xmllint', required: false)
|
||||||
if xmllint.found()
|
if xmllint.found()
|
||||||
tmpsample_xml = custom_target('tmpsample.xml',
|
tmpsample_xml = custom_target('tmpsample.xml',
|
||||||
output : 'tmpsample.xml',
|
output : 'tmpsample.xml',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user