From 33ee60fc2a7d7df2dd064099de018bf3f63977c7 Mon Sep 17 00:00:00 2001 From: Mason M Date: Mon, 27 Nov 2023 15:02:10 -0400 Subject: [PATCH] Add BUILD_SHARED_LIBS option --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31908fe50..3e0009415 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ else() endif() # general +option(BUILD_SHARED_LIBS "build shared libraries" OFF) option(LLAMA_STATIC "llama: static link libraries" OFF) option(LLAMA_NATIVE "llama: enable -march=native flag" ON) option(LLAMA_LTO "llama: enable link time optimization" OFF)