Deps: Bump shaderc

This commit is contained in:
Stenzek
2024-08-24 18:08:53 +10:00
parent 1425b2fb40
commit 96b8e53fbf
8 changed files with 13 additions and 41 deletions

View File

@@ -43,6 +43,7 @@ if(ENABLE_VULKAN)
if(LINUX)
# We need to add the rpath for shaderc to the executable.
get_target_property(SHADERC_LIBRARY Shaderc::shaderc_shared IMPORTED_LOCATION)
get_filename_component(SHADERC_LIBRARY_DIRECTORY ${SHADERC_LIBRARY} DIRECTORY)
list(APPEND CMAKE_BUILD_RPATH ${SHADERC_LIBRARY_DIRECTORY})
get_target_property(SPIRV_CROSS_LIBRARY spirv-cross-c-shared IMPORTED_LOCATION)