Fix Accelerate link in CMake
This commit is contained in:
parent
15c4e11574
commit
965d8fd3d8
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ if (APPLE AND LLAMA_ACCELERATE)
|
|||
message(STATUS "Accelerate framework found")
|
||||
|
||||
add_compile_definitions(GGML_USE_ACCELERATE)
|
||||
add_link_options(${ACCELERATE_FRAMEWORK})
|
||||
set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} ${ACCELERATE_FRAMEWORK})
|
||||
else()
|
||||
message(WARNING "Accelerate framework not found")
|
||||
endif()
|
||||
|
@ -207,4 +207,4 @@ target_link_libraries(ggml PUBLIC Threads::Threads)
|
|||
target_link_libraries(ggml PRIVATE ${LLAMA_EXTRA_LIBS})
|
||||
target_include_directories(ggml PUBLIC .)
|
||||
target_link_libraries(llama ggml utils)
|
||||
target_link_libraries(quantize ggml utils)
|
||||
target_link_libraries(quantize ggml utils)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue