diff --git a/CMakeLists.txt b/CMakeLists.txt index 838b556cb0ac8..aa7ae20e4949e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,7 +289,7 @@ if (LLAMA_BLAS) add_subdirectory(../OpenBLAS ${CMAKE_CURRENT_BINARY_DIR}/OpenBLAS) - set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} openblas_static) + set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} openblas_shared) set(LLAMA_EXTRA_INCLUDES ${LLAMA_EXTRA_INCLUDES} ../OpenBLAS ${CMAKE_CURRENT_BINARY_DIR}/OpenBLAS) endif()