summaryrefslogtreecommitdiff
path: root/examples/server
diff options
context:
space:
mode:
authorOlivier Chafik <ochafik@users.noreply.github.com>2024-04-15 18:35:21 +0100
committerGitHub <noreply@github.com>2024-04-15 18:35:21 +0100
commit7593639ce335e8d7f89aa9a54d616951f273af60 (patch)
tree936e7ef3214f03ebf1698292022be1a23ee991b0 /examples/server
parent132f55795e51094954f1b1f647f97648be724a3a (diff)
`main`: add --json-schema / -j flag (#6659)
* main: add --json-schema / -j * json: move json-schema-to-grammar to common lib * json: fix zig build
Diffstat (limited to 'examples/server')
-rw-r--r--examples/server/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/CMakeLists.txt b/examples/server/CMakeLists.txt
index d2ee47d0..61f58417 100644
--- a/examples/server/CMakeLists.txt
+++ b/examples/server/CMakeLists.txt
@@ -11,7 +11,7 @@ install(TARGETS ${TARGET} RUNTIME)
target_compile_definitions(${TARGET} PRIVATE
SERVER_VERBOSE=$<BOOL:${LLAMA_SERVER_VERBOSE}>
)
-target_link_libraries(${TARGET} PRIVATE common json-schema-to-grammar ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(${TARGET} PRIVATE common ${CMAKE_THREAD_LIBS_INIT})
if (LLAMA_SERVER_SSL)
find_package(OpenSSL REQUIRED)
target_link_libraries(${TARGET} PRIVATE OpenSSL::SSL OpenSSL::Crypto)