meson: only build the loader 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 ef564f9391
commit 0404918f61
+3 -1
View File
@@ -117,7 +117,9 @@ endif
if with_gallium_asahi or with_tools.contains('asahi')
subdir('asahi')
endif
subdir('loader')
if with_gallium or with_gbm
subdir('loader')
endif
if with_platform_haiku
subdir('hgl')
endif