cmake : cleanup (#17199)
This commit is contained in:
parent
78010a0d52
commit
52cf111b31
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue