Commit a1fdae8a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

meson: don't error out if xmllint is not found

Only needed for glib/tests and entirely optional.
parent ad9d5a11
......@@ -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',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment