cmake : copy ggml-common.h to bin

pull/1966/head
Georgi Gerganov 2024-03-16 17:15:21 +02:00
parent 1b553b9817
commit 00d80ff965
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ if (APPLE)
set(GGML_SOURCES_METAL ggml-metal.m ggml-metal.h)
# copy ggml-metal.metal to bin directory
# copy ggml-common.h and ggml-metal.metal to bin directory
configure_file(ggml-common.h bin/ggml-common.h COPYONLY)
configure_file(ggml-metal.metal bin/ggml-metal.metal COPYONLY)
if (WHISPER_METAL_EMBED_LIBRARY)