Skip to content

Commit

Permalink
cmake : fix Metal build (close ggerganov#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jun 10, 2023
1 parent 3f12231 commit 4de0334
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4de0334

Please sign in to comment.