cmake : remove obsolete ANDROID check

This commit is contained in:
Georgi Gerganov 2024-04-25 18:59:51 +03:00
parent d6e1d44f16
commit fa0b4ad252
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -43,12 +43,6 @@ else()
set(LLAMA_METAL_DEFAULT OFF) set(LLAMA_METAL_DEFAULT OFF)
endif() endif()
if (CMAKE_SYSTEM_NAME MATCHES "ANDROID")
set(LLAMA_LLAMAFILE_DEFAULT OFF)
else()
set(LLAMA_LLAMAFILE_DEFAULT ON)
endif()
# general # general
option(BUILD_SHARED_LIBS "build shared libraries" OFF) option(BUILD_SHARED_LIBS "build shared libraries" OFF)
option(LLAMA_STATIC "llama: static link libraries" OFF) option(LLAMA_STATIC "llama: static link libraries" OFF)