Skip to content

Commit 90f854c

Browse files
committed
Handled scenario: build common but curl is off
1 parent 006b1f4 commit 90f854c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ install(
256256

257257
if (LLAMA_BUILD_COMMON)
258258

259+
if (NOT LLAMA_CURL)
260+
install(
261+
TARGETS cpp-httplib
262+
EXPORT llama-targets)
263+
endif()
264+
259265
install(
260266
TARGETS common build_info
261267
EXPORT llama-targets

0 commit comments

Comments
 (0)