diff options
Diffstat (limited to 'examples/shaders/meson.build')
-rw-r--r-- | examples/shaders/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/shaders/meson.build b/examples/shaders/meson.build index 2fdd946..9121e97 100644 --- a/examples/shaders/meson.build +++ b/examples/shaders/meson.build @@ -32,17 +32,19 @@ if vulkan_dep.found() build_by_default: true, capture: true) + glslang_command = [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@'] + rect_vert_spv = custom_target('rect.vert.spv', output: 'rect.vert.spv', input: rect_vulkan_vert, - command: [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@'], + command: glslang_command, build_by_default: true, install: false) rect_frag_spv = custom_target('rect.frag.spv', output: 'rect.frag.spv', input: rect_vulkan_frag, - command: [glslang, '-V', '-o', '@OUTPUT@', '@INPUT@'], + command: glslang_command, build_by_default: true, install: false) endif |