Skip to content

Commit a8a7ed9

Browse files
committed
run: include_directories
1 parent 9bf42cd commit a8a7ed9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/run/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
set(TARGET llama-run)
22
add_executable(${TARGET} run.cpp linenoise.cpp/linenoise.cpp)
3+
if (LLAMA_CURL)
4+
include_directories(${CURL_INCLUDE_DIRS})
5+
endif ()
36
install(TARGETS ${TARGET} RUNTIME)
47
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
58
target_compile_features(${TARGET} PRIVATE cxx_std_17)

0 commit comments

Comments
 (0)