mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-28 15:18:26 +01:00
10 lines
380 B
CMake
10 lines
380 B
CMake
find_package (Threads REQUIRED)
|
|
find_package(Vulkan COMPONENTS glslc REQUIRED)
|
|
|
|
set(TARGET vulkan-shaders-gen)
|
|
add_executable(${TARGET} vulkan-shaders-gen.cpp)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|
|
target_link_libraries(vulkan-shaders-gen PUBLIC Threads::Threads)
|
|
target_link_libraries(vulkan-shaders-gen PRIVATE Vulkan::Vulkan)
|