|
|
@@ -7,8 +7,7 @@ if (LLAMA_CURL)
|
|
|
find_package(CURL REQUIRED)
|
|
|
target_compile_definitions(${TARGET} PUBLIC LLAMA_USE_CURL)
|
|
|
include_directories(${CURL_INCLUDE_DIRS})
|
|
|
- find_library(CURL_LIBRARY curl REQUIRED)
|
|
|
- set(LLAMA_RUN_EXTRA_LIBS ${LLAMA_RUN_EXTRA_LIBS} ${CURL_LIBRARY})
|
|
|
+ set(LLAMA_RUN_EXTRA_LIBS ${LLAMA_RUN_EXTRA_LIBS} ${CURL_LIBRARIES})
|
|
|
endif ()
|
|
|
|
|
|
install(TARGETS ${TARGET} RUNTIME)
|