meson: simplify another "any of" check
authorEric Engestrom <eric@igalia.com>
Thu, 13 Apr 2023 20:39:37 +0000 (21:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 26 May 2023 11:30:26 +0000 (11:30 +0000)
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22491>

meson.build

index 73f27c3..9dffae1 100644 (file)
@@ -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,