summaryrefslogtreecommitdiff
path: root/llama.cpp/tools/cli/CMakeLists.txt
blob: b08fff4c28904f12fa819f767f5acfc6b2f92fad (plain)
1
2
3
4
5
6
7
8
9
10
set(TARGET llama-cli)
add_executable(${TARGET} cli.cpp)
target_link_libraries(${TARGET} PRIVATE server-context PUBLIC common ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_17)

include_directories(../server)

if(LLAMA_TOOLS_INSTALL)
    install(TARGETS ${TARGET} RUNTIME)
endif()