cmake : install ggml-meta.metal if LLAMA_METAL (#2449)

This commit is contained in:
Kolen Cheung 2023-08-16 21:09:49 +01:00 committed by GitHub
parent ed53db86c3
commit 0919a0f73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,6 +569,16 @@ install(
WORLD_READ
WORLD_EXECUTE
DESTINATION ${CMAKE_INSTALL_BINDIR})
if (LLAMA_METAL)
install(
FILES ggml-metal.metal
PERMISSIONS
OWNER_READ
OWNER_WRITE
GROUP_READ
WORLD_READ
DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
#
# programs, examples and tests