Skip to content

Commit

Permalink
LLAMA_BUILD_COMMON before FetchContent_MakeAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 17, 2024
1 parent fcd39fe commit da9f073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llama_cpp_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/ggerganov/llama.cpp.git
GIT_TAG b3933
)
FetchContent_MakeAvailable(llama)

option(LLAMA_BUILD_COMMON "llama: build common utils library" ON)

FetchContent_MakeAvailable(llama)

# ggml
set_target_properties(
ggml PROPERTIES
Expand Down

0 comments on commit da9f073

Please sign in to comment.