cmake : fix LLAMA_BUILD_UI logic (#23190)

This commit is contained in:
Aldehir Rojas
2026-05-17 14:42:26 -04:00
committed by GitHub
parent e0de4c2419
commit 87589042ca
4 changed files with 8 additions and 24 deletions
-2
View File
@@ -617,8 +617,6 @@ struct common_params {
// UI configs
#ifdef LLAMA_UI_DEFAULT_ENABLED
bool ui = LLAMA_UI_DEFAULT_ENABLED != 0;
#elif defined(LLAMA_WEBUI_DEFAULT_ENABLED)
bool ui = LLAMA_WEBUI_DEFAULT_ENABLED != 0;
#else
bool ui = true; // default to enabled when not set
#endif