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

With msys64/mingw.
This commit is contained in:
Tim-Philipp Müller 2017-07-15 11:21:57 +01:00
parent 683809d5f7
commit 9306ada4fd

View File

@ -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',