meson: only build glsl when needed
authorEric Engestrom <eric@igalia.com>
Tue, 17 Jan 2023 17:58:33 +0000 (17:58 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Feb 2023 02:53:54 +0000 (02:53 +0000)
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>

src/compiler/meson.build

index b261987..2bfcc3b 100644 (file)
@@ -94,5 +94,7 @@ endif
 if with_clc
   subdir('clc')
 endif
-subdir('glsl')
+if with_gallium
+  subdir('glsl')
+endif
 subdir('isaspec')