Skip to content

Commit 9a6e408

Browse files
authored
run : do not search for curl libraries by ourselves
1 parent a8adab5 commit 9a6e408

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/run/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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})
1211
endif ()
1312

1413
install(TARGETS ${TARGET} RUNTIME)

0 commit comments

Comments
 (0)