]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : build router app only during standalone builds (#23521)
authorfairydreaming <redacted>
Fri, 22 May 2026 09:55:29 +0000 (11:55 +0200)
committerGitHub <redacted>
Fri, 22 May 2026 09:55:29 +0000 (12:55 +0300)
Co-authored-by: Stanisław Szymczyk <redacted>
CMakeLists.txt

index 56eb608ea0c0573c27a101f9fce3a9ccd0fc8fac..4f7f4eca6e512b6f2d9f6e1eb30f143ea51766b7 100644 (file)
@@ -108,7 +108,7 @@ option(LLAMA_BUILD_TESTS     "llama: build tests"
 option(LLAMA_BUILD_TOOLS     "llama: build tools"                                                                ${LLAMA_STANDALONE})
 option(LLAMA_BUILD_EXAMPLES  "llama: build examples"                                                             ${LLAMA_STANDALONE})
 option(LLAMA_BUILD_SERVER    "llama: build server example"                                                       ${LLAMA_STANDALONE})
-option(LLAMA_BUILD_APP       "llama: build the unified binary"                                                   ON)
+option(LLAMA_BUILD_APP       "llama: build the unified binary"                                                   ${LLAMA_STANDALONE})
 option(LLAMA_BUILD_UI        "llama: build the embedded Web UI for server"                                       ON)
 option(LLAMA_USE_PREBUILT_UI "llama: use prebuilt UI from HF Bucket when available (requires LLAMA_BUILD_UI=ON)" ON)