cmake : fix Metal build (close #1791)

This commit is contained in:
Georgi Gerganov 2023-06-10 22:56:53 +03:00
parent 3f1223155a
commit 4de0334f5c
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -218,9 +218,6 @@ if (LLAMA_METAL)
# copy ggml-metal.metal to bin directory
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}
${FOUNDATION_LIBRARY}