Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Quill <robert.quill@imgtec.com>
  • Loading branch information
robquill committed Sep 5, 2024
1 parent 7cef8cc commit d0b2bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/vulkan_shader_compiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function(vulkan_compile_shader)
## The directory may not be created so we need to ensure its present
get_filename_component(SHADER_COMPILE_SPV_PATH ${SHADER_COMPILE_SPV_FILE_FULL} DIRECTORY)
if(NOT EXISTS ${SHADER_COMPILE_SPV_PATH})
get_filename_component(SHADER_COMPILE_SPV_FILENAME ${SHADER_COMPILE_SPV_FILE_FULL} FILENAME)
get_filename_component(SHADER_COMPILE_SPV_FILENAME ${SHADER_COMPILE_SPV_FILE_FULL} NAME)
add_custom_target(build-time-make-directory-${SHADER_COMPILE_SPV_FILENAME} ALL
COMMAND ${CMAKE_COMMAND} -E make_directory ${SHADER_COMPILE_SPV_PATH})
endif()
Expand Down

0 comments on commit d0b2bc0

Please sign in to comment.