From 00d80ff965ba4192d4b1639bd73e003ab9fc5574 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 16 Mar 2024 17:15:21 +0200 Subject: [PATCH] cmake : copy ggml-common.h to bin --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dce71ff..cc73265 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)