cmake : cleanup (#17199)

This commit is contained in:
Adrien Gallouët 2025-11-12 13:48:30 +01:00 committed by GitHub
parent 78010a0d52
commit 52cf111b31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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()