mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-13 10:57:15 +00:00
cmake : cleanup (#17199)
This commit is contained in:
@@ -93,7 +93,6 @@ if (LLAMA_CURL)
|
|||||||
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} ${CURL_LIBRARIES})
|
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} ${CURL_LIBRARIES})
|
||||||
elseif (LLAMA_HTTPLIB)
|
elseif (LLAMA_HTTPLIB)
|
||||||
# otherwise, use cpp-httplib
|
# otherwise, use cpp-httplib
|
||||||
message(FATAL "test")
|
|
||||||
target_compile_definitions(${TARGET} PUBLIC LLAMA_USE_HTTPLIB)
|
target_compile_definitions(${TARGET} PUBLIC LLAMA_USE_HTTPLIB)
|
||||||
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} cpp-httplib)
|
set(LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} cpp-httplib)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user