meson: Don't build glsl cache_test when shader cache is disabled
authorDylan Baker <dylan@pnwbakers.com>
Tue, 22 May 2018 22:24:16 +0000 (15:24 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 3 May 2019 17:58:31 +0000 (10:58 -0700)
commitc613861b23312438568a4a77dc48e383d45ef51e
treeb7e45b209a234c4f1ddc89f8cd33ef6e2e251c39
parenta216aea7afeee2b4d3e8641b15b057a821c46098
meson: Don't build glsl cache_test when shader cache is disabled

v2: - Use new with_shader_cache variable instead of
      host_machine.system() == 'windows'

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/tests/meson.build