From 56db696875dbac9b5604319bf247da3aaf40ee11 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 22 May 2018 17:06:35 -0700 Subject: [PATCH] meson: don't build gallium trivial tests on windows They require the pipe-loaders, which require xmlconfig, which doesn't build with msvc. Acked-by: Eric Engestrom Acked-by: Kristian H. Kristensen --- src/gallium/tests/meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/gallium/tests/meson.build b/src/gallium/tests/meson.build index 080bd8485b0..15b9f549647 100644 --- a/src/gallium/tests/meson.build +++ b/src/gallium/tests/meson.build @@ -18,6 +18,11 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -subdir('trivial') -subdir('unit') +if not with_platform_windows + # pipe-loader doesn't build on windows. + subdir('trivial') +endif +if with_gallium_softpipe + subdir('unit') +endif subdir('graw') -- 2.30.2