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)
endif()
# FIXME: this should be done in the backend cmake files
if (GGML_METAL)
install(
FILES src/ggml-metal.metal
FILES src/ggml-metal/ggml-metal.metal
PERMISSIONS
OWNER_READ
OWNER_WRITE