meson: only build mapi when needed

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19600>
This commit is contained in:
Eric Engestrom 2022-11-05 08:47:04 +00:00 committed by Marge Bot
parent de90690aba
commit ef564f9391

View file

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