From ef564f9391f862c87935d65b0016707ab102f515 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 5 Nov 2022 08:47:04 +0000 Subject: [PATCH] meson: only build mapi when needed Signed-off-by: Eric Engestrom Reviewed-by: Yonggang Luo Part-of: --- src/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 14f916fa3e8..b1630931dc0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -67,7 +67,9 @@ endif subdir('android_stub') subdir('c11/impl') subdir('util') -subdir('mapi') +if with_gallium + subdir('mapi') +endif # TODO: opengl subdir('compiler') if with_tools.contains('drm-shim')