Don't link against libvulkan.

This commit is contained in:
Adam Treat 2023-09-12 14:26:33 -04:00
parent 0ad1472b62
commit c953b321b7
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit a2ad58e3cb1037cfe0f582b07b22450ad8bf06a7
Subproject commit 0412ec287ccc648bf691f3309546d69dca18ae8c

View File

@ -154,6 +154,7 @@ if (LLAMA_OPENBLAS)
endif()
if (LLAMA_KOMPUTE)
add_compile_definitions(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1)
find_package(Vulkan COMPONENTS glslc REQUIRED)
find_program(glslc_executable NAMES glslc HINTS Vulkan::glslc)
if (NOT glslc_executable)