---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 4247d195bc1..ed63276b63e 100644
--- a/meson.build
+++ b/meson.build
@@ -699,7 +699,7 @@ if get_option('buildtype') == 'debug'
   pre_args += '-DDEBUG'
 endif
 
-if get_option('shader-cache')
+if get_option('shader-cache') and host_machine.system() != 'windows'
   pre_args += '-DENABLE_SHADER_CACHE'
 elif with_amd_vk
   error('Radv requires shader cache support')
-- 
2.17.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to