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)
86
86
endif ()
87
87
target_compile_definitions (${TARGET} PUBLIC LLAMA_USE_CURL )
88
88
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} )
91
90
endif ()
92
91
93
92
if (LLAMA_LLGUIDANCE )
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ if (LLAMA_CURL)
7
7
find_package (CURL REQUIRED )
8
8
target_compile_definitions (${TARGET} PUBLIC LLAMA_USE_CURL )
9
9
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} )
12
11
endif ()
13
12
14
13
install (TARGETS ${TARGET} RUNTIME )
You can’t perform that action at this time.
0 commit comments