File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ if (LLAMA_CURL)
8686 endif ()
8787 target_compile_definitions (${TARGET} PUBLIC LLAMA_USE_CURL)
8888 include_directories (${CURL_INCLUDE_DIRS} )
89- find_library (CURL_LIBRARY curl REQUIRED)
90- set (LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} ${CURL_LIBRARY} )
89+ set (LLAMA_COMMON_EXTRA_LIBS ${LLAMA_COMMON_EXTRA_LIBS} ${CURL_LIBRARIES} )
9190endif ()
9291
9392if (LLAMA_LLGUIDANCE)
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ if (LLAMA_CURL)
77 find_package (CURL REQUIRED)
88 target_compile_definitions (${TARGET} PUBLIC LLAMA_USE_CURL)
99 include_directories (${CURL_INCLUDE_DIRS} )
10- find_library (CURL_LIBRARY curl REQUIRED)
11- set (LLAMA_RUN_EXTRA_LIBS ${LLAMA_RUN_EXTRA_LIBS} ${CURL_LIBRARY} )
10+ set (LLAMA_RUN_EXTRA_LIBS ${LLAMA_RUN_EXTRA_LIBS} ${CURL_LIBRARIES} )
1211endif ()
1312
1413install (TARGETS ${TARGET} RUNTIME)
You can’t perform that action at this time.
0 commit comments