metal install fix

This commit is contained in:
slaren 2024-11-12 23:34:50 +01:00
parent 307ef9a588
commit d5dd7ed7ee

View File

@ -242,9 +242,10 @@ if (BUILD_SHARED_LIBS)
install(TARGETS ggml LIBRARY) install(TARGETS ggml LIBRARY)
endif() endif()
# FIXME: this should be done in the backend cmake files
if (GGML_METAL) if (GGML_METAL)
install( install(
FILES src/ggml-metal.metal FILES src/ggml-metal/ggml-metal.metal
PERMISSIONS PERMISSIONS
OWNER_READ OWNER_READ
OWNER_WRITE OWNER_WRITE