[Mesa-dev] [PATCH 14/48] meson: don't build shader cache on windows

Dylan Baker dylan at pnwbakers.com
Mon Jun 11 22:55:41 UTC 2018


---
 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



More information about the mesa-dev mailing list