Skip to content

Commit 695e5a5

Browse files
committed
cmake : allow external ggml
1 parent 3f2d538 commit 695e5a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ llama_option_depr(WARNING LLAMA_SYCL_F16 GGML_SYCL_F16)
114114
#
115115
# build the library
116116
#
117-
118-
add_subdirectory(ggml)
117+
if(NOT LLAMA_EXTERNAL_GGML)
118+
add_subdirectory(ggml)
119+
endif()
119120
add_subdirectory(src)
120121

121122
#

0 commit comments

Comments
 (0)