]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake: only build cli when server is enabled (#18670)
authorAsbjørn Olling <redacted>
Fri, 9 Jan 2026 15:43:26 +0000 (16:43 +0100)
committerGitHub <redacted>
Fri, 9 Jan 2026 15:43:26 +0000 (16:43 +0100)
tools/CMakeLists.txt

index 48959fefb59680a80f7797787417de21ab0c69f1..518f8b9ae745ed4c4936f03adbb1fc78be8e177a 100644 (file)
@@ -18,11 +18,11 @@ else()
     add_subdirectory(gguf-split)
     add_subdirectory(imatrix)
     add_subdirectory(llama-bench)
-    add_subdirectory(cli)
     add_subdirectory(completion)
     add_subdirectory(perplexity)
     add_subdirectory(quantize)
     if (LLAMA_BUILD_SERVER)
+        add_subdirectory(cli)
         add_subdirectory(server)
     endif()
     add_subdirectory(tokenize)