fix: Always embed metal library. Closes #1332

This commit is contained in:
Andrei Betlen 2024-04-06 01:36:53 -04:00
parent f4092e6b46
commit b3bfea6dbf

View file

@ -18,7 +18,7 @@ if (LLAMA_BUILD)
set(LLAMA_F16C "Off" CACHE BOOL "llama: enable F16C" FORCE)
endif()
if (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm64")
if (APPLE)
set(LLAMA_METAL_EMBED_LIBRARY "On" CACHE BOOL "llama: embed metal library" FORCE)
endif()