diff options
Diffstat (limited to 'cmake/shaders.cmake')
-rw-r--r-- | cmake/shaders.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/shaders.cmake b/cmake/shaders.cmake index fc6575537a..a9ded80a6c 100644 --- a/cmake/shaders.cmake +++ b/cmake/shaders.cmake @@ -6,6 +6,7 @@ function(add_shader VAR name) add_custom_command( OUTPUT ${shader_source_prefix}/${name}.hpp COMMAND ${shader_build_cmd} ${name} ${shader_file_prefix} ${shader_source_prefix} + DEPENDS npm-install DEPENDS ${CMAKE_SOURCE_DIR}/scripts/build-shaders.js DEPENDS ${shader_file_prefix}/${name}.vertex.glsl DEPENDS ${shader_file_prefix}/${name}.fragment.glsl |