From c81b78041ea578c97de79a0e88ed1a4431fcfb59 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 13 Apr 2023 21:39:37 +0100 Subject: [PATCH] meson: simplify another "any of" check Signed-off-by: Eric Engestrom Part-of: --- meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 73f27c3c110..9dffae1f7f9 100644 --- a/meson.build +++ b/meson.build @@ -244,7 +244,12 @@ with_imagination_srv = get_option('imagination-srv') with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental') with_any_vk = _vulkan_drivers.length() != 0 -with_any_broadcom = with_gallium_vc4 or with_gallium_v3d or with_broadcom_vk +with_any_broadcom = [ + with_gallium_vc4, + with_gallium_v3d, + with_broadcom_vk, +].contains(true) + with_any_intel = [ with_gallium_crocus, with_gallium_i915,