Skip to content

Commit

Permalink
Merge pull request #14 from GoncaloFDS/create-cmake-shader-directory
Browse files Browse the repository at this point in the history
Create a directory for the shaders before compilation
  • Loading branch information
GPSnoopy authored Aug 7, 2020
2 parents 412e891 + 671f008 commit 1a2469a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ foreach(shader ${shader_files})
if (WIN32)
add_custom_command(
OUTPUT ${output_file}
COMMAND ${CMAKE_COMMAND} -E make_directory ${output_dir}
COMMAND ${Vulkan_GLSLANG_VALIDATOR} -V ${full_path} -o ${output_file}
DEPENDS ${full_path}
)
Expand Down

0 comments on commit 1a2469a

Please sign in to comment.