summaryrefslogtreecommitdiff
path: root/examples/rpc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rpc/CMakeLists.txt')
-rw-r--r--examples/rpc/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/rpc/CMakeLists.txt b/examples/rpc/CMakeLists.txt
index ae48fb98..41b22863 100644
--- a/examples/rpc/CMakeLists.txt
+++ b/examples/rpc/CMakeLists.txt
@@ -1,2 +1,4 @@
-add_executable(rpc-server rpc-server.cpp)
-target_link_libraries(rpc-server PRIVATE ggml llama)
+set(TARGET rpc-server)
+add_executable(${TARGET} rpc-server.cpp)
+target_link_libraries(${TARGET} PRIVATE ggml)
+target_compile_features(${TARGET} PRIVATE cxx_std_17) \ No newline at end of file