diff options
author | Kolen Cheung <ickc@users.noreply.github.com> | 2023-08-16 21:09:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 23:09:49 +0300 |
commit | 0919a0f73d95cfb93a1646a1d1741a0615fe2c5e (patch) | |
tree | fc3a60980593327d0e3e874f32d8448bfa806978 | |
parent | ed53db86c3b0e0815331a96d7a379edb5e62472c (diff) |
cmake : install ggml-meta.metal if LLAMA_METAL (#2449)
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 01b40c2e..824d9f2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |