From: Georgi Gerganov Date: Sat, 16 Mar 2024 15:15:21 +0000 (+0200) Subject: cmake : copy ggml-common.h to bin X-Git-Tag: upstream/1.7.4~882 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=00d80ff965ba4192d4b1639bd73e003ab9fc5574;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp cmake : copy ggml-common.h to bin --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dce71ff6..cc732650 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)