From ec2aeca944d7953d86c0ae9e59063aac9154c551 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Tue, 15 Sep 2026 14:10:36 +0200 Subject: [PATCH] Add missing spirv-headers target Signed-off-by: Uilian Ries --- ggml/src/ggml-vulkan/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-vulkan/CMakeLists.txt b/ggml/src/ggml-vulkan/CMakeLists.txt index e733ad5cc984..e52a24477458 100644 --- a/ggml/src/ggml-vulkan/CMakeLists.txt +++ b/ggml/src/ggml-vulkan/CMakeLists.txt @@ -109,7 +109,7 @@ if (Vulkan_FOUND) "GGML_VULKAN_FLOAT_E4M3_GLSLC_SUPPORT" ) - target_link_libraries(ggml-vulkan PRIVATE Vulkan::Vulkan) + target_link_libraries(ggml-vulkan PRIVATE Vulkan::Vulkan SPIRV-Headers::SPIRV-Headers) target_include_directories(ggml-vulkan PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) # Workaround to the "can't dereference invalidated vector iterator" bug in clang-cl debug build