]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
cmake : copy ggml-common.h to bin
authorGeorgi Gerganov <redacted>
Sat, 16 Mar 2024 15:15:21 +0000 (17:15 +0200)
committerGeorgi Gerganov <redacted>
Sat, 16 Mar 2024 15:15:44 +0000 (17:15 +0200)
CMakeLists.txt

index dce71ff6e47fbf9197582e49fa1350ff7d0b911f..cc732650289a1e787c99a5c721a3bcbbda596108 100644 (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)