Fixed compile with non-external SPIRV-Tools

This commit is contained in:
darktux 2024-04-10 23:30:20 +02:00
parent d3a9b4e9a2
commit 1dbf6c99c5

View file

@ -245,7 +245,7 @@ add_library(shader_recompiler STATIC
if (YUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS)
set(SPIRV_TOOLS_LIBRARY SPIRV-Tools-opt)
else()
set(SPIRV_TOOLS_LIBRARY SPIRV-Tools)
set(SPIRV_TOOLS_LIBRARY SPIRV-Tools SPIRV-Tools-opt)
endif()
target_link_libraries(shader_recompiler PUBLIC common fmt::fmt sirit ${SPIRV_TOOLS_LIBRARY})