mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
cmake : fix Metal build (close #1791)
This commit is contained in:
parent
3f1223155a
commit
4de0334f5c
@ -218,9 +218,6 @@ if (LLAMA_METAL)
|
|||||||
|
|
||||||
# copy ggml-metal.metal to bin directory
|
# copy ggml-metal.metal to bin directory
|
||||||
configure_file(ggml-metal.metal bin/ggml-metal.metal COPYONLY)
|
configure_file(ggml-metal.metal bin/ggml-metal.metal COPYONLY)
|
||||||
if (LLAMA_METAL)
|
|
||||||
set_target_properties(llama PROPERTIES RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/ggml-metal.metal")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS}
|
set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS}
|
||||||
${FOUNDATION_LIBRARY}
|
${FOUNDATION_LIBRARY}
|
||||||
|
Loading…
Reference in New Issue
Block a user