meson: do not pull in clc for clover

Fixes: 01d0d94319 ("meson: Simplify clc expression")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27663>
(cherry picked from commit 815a6647eb1383e9dc704ffcc266d85f3b13338a)
This commit is contained in:
Karol Herbst 2024-02-17 01:45:07 +01:00 committed by Eric Engestrom
parent c8bdf6129a
commit 21090c8d3e
3 changed files with 3 additions and 4 deletions

View file

@ -813,7 +813,6 @@ if _opencl != 'disabled'
error('The Clover OpenCL state tracker requires rtti')
endif
with_clc = true
with_gallium_opencl = true
with_opencl_icd = _opencl == 'icd'
else
@ -838,7 +837,7 @@ if with_gallium_rusticl
endif
dep_clc = null_dep
if with_clc
if with_gallium_opencl or with_clc
dep_clc = dependency('libclc')
endif