cmake should link openblas properly with -lopenblas like how it's done in the makefile (#839)

pull/850/head master-f2d1c47
eiery 1 year ago committed by GitHub
parent 317fb12fbd
commit f2d1c47294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,6 +115,7 @@ if (LLAMA_OPENBLAS)
add_compile_definitions(GGML_USE_OPENBLAS)
add_link_options(${BLAS_LIBRARIES})
set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} openblas)
else()
message(WARNING "OpenBLAS not found")
endif()

Loading…
Cancel
Save