diff --git a/gpt4all-backend/llama.cpp.cmake b/gpt4all-backend/llama.cpp.cmake index 89d63e54..70dcc920 100644 --- a/gpt4all-backend/llama.cpp.cmake +++ b/gpt4all-backend/llama.cpp.cmake @@ -322,7 +322,7 @@ function(include_ggml DIRECTORY SUFFIX WITH_LLAMA) set(LLAMA_UTIL_SOURCE_FILE llama_util.h) endif() - add_library(llama${SUFFIX} + add_library(llama${SUFFIX} STATIC ${DIRECTORY}/llama.cpp ${DIRECTORY}/llama.h ${DIRECTORY}/${LLAMA_UTIL_SOURCE_FILE})