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

meson: fix 'Unknown variable "gtester"' error on windows

With msys64/mingw.
parent 683809d5
......@@ -169,7 +169,7 @@ executable('test-spawn-echo', 'test-spawn-echo.c',
)
# some testing of gtester functionality
if not meson.is_cross_build() and meson.version().version_compare('> 0.37.9')
if not meson.is_cross_build() and host_system != 'windows'
xmllint = find_program('xmllint')
if xmllint.found()
tmpsample_xml = custom_target('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