diff --git a/meson.build b/meson.build index b8c19999f01..29d7981d13d 100644 --- a/meson.build +++ b/meson.build @@ -1254,6 +1254,8 @@ if with_gallium_opencl 'all-targets', 'linker', 'coverage', 'instrumentation', 'ipo', 'irreader', 'lto', 'option', 'objcarcopts', 'profiledata', ] +endif +if with_gallium_opencl or with_gallium_softpipe llvm_optional_modules += ['coroutines'] endif