meson: simplify logic a bit

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32333>
This commit is contained in:
Eric Engestrom
2024-11-25 18:14:18 +01:00
committed by Marge Bot
parent a562047b60
commit a093806798

View File

@@ -111,13 +111,11 @@ endif
if with_gallium_or_lvp
subdir('gallium')
endif
if with_gallium
if with_gallium and with_tests
# This has to be here since it requires libgallium, and subdir cannot
# contain ..
if with_tests
subdir('mesa/main/tests')
endif
if with_tests and with_shared_glapi
subdir('mesa/main/tests')
if with_shared_glapi
subdir('mesa/state_tracker/tests')
endif
endif