summaryrefslogtreecommitdiff
path: root/llama.cpp/tools/rpc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/tools/rpc/CMakeLists.txt')
-rw-r--r--llama.cpp/tools/rpc/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/llama.cpp/tools/rpc/CMakeLists.txt b/llama.cpp/tools/rpc/CMakeLists.txt
new file mode 100644
index 0000000..20f114a
--- /dev/null
+++ b/llama.cpp/tools/rpc/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(TARGET rpc-server)
+add_executable(${TARGET} rpc-server.cpp)
+target_link_libraries(${TARGET} PRIVATE ggml)
+target_compile_features(${TARGET} PRIVATE cxx_std_17)
+
+if(LLAMA_TOOLS_INSTALL)
+ install(TARGETS ${TARGET} RUNTIME)
+endif()