Skip to content

Commit

Permalink
cmake : install ggml-meta.metal if LLAMA_METAL (#2449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ickc authored Aug 16, 2023
1 parent ed53db8 commit 0919a0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0919a0f

Please sign in to comment.