cmake: fix Metal build after #2310 (#2350)

I don't understand why this is needed, but it works.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel
2024-05-15 18:12:32 -04:00
committed by GitHub
parent d2a99d9bc6
commit a92d266cea
2 changed files with 5 additions and 2 deletions

View File

@@ -185,6 +185,7 @@ if(METAL_SHADER_FILE)
set_target_properties(chat PROPERTIES
RESOURCE ${METAL_SHADER_FILE}
)
add_dependencies(chat ggml-metal)
endif()
target_compile_definitions(chat