android : do not fetch, use add_subdirectory instead
This commit is contained in:
parent
2117b30380
commit
99d1e7eb8a
1 changed files with 10 additions and 8 deletions
|
@ -12,15 +12,17 @@ cmake_minimum_required(VERSION 3.22.1)
|
||||||
# build script scope).
|
# build script scope).
|
||||||
project("llama-android")
|
project("llama-android")
|
||||||
|
|
||||||
include(FetchContent)
|
#include(FetchContent)
|
||||||
FetchContent_Declare(
|
#FetchContent_Declare(
|
||||||
llama
|
# llama
|
||||||
GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
|
# GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
|
||||||
GIT_TAG ci-android
|
# GIT_TAG ci-android
|
||||||
)
|
#)
|
||||||
|
#
|
||||||
|
## Also provides "common"
|
||||||
|
#FetchContent_MakeAvailable(llama)
|
||||||
|
|
||||||
# Also provides "common"
|
add_subdirectory(../../../../../../)
|
||||||
FetchContent_MakeAvailable(llama)
|
|
||||||
|
|
||||||
# Creates and names a library, sets it as either STATIC
|
# Creates and names a library, sets it as either STATIC
|
||||||
# or SHARED, and provides the relative paths to its source code.
|
# or SHARED, and provides the relative paths to its source code.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue