Skip to content

Commit

Permalink
main: add --json-schema / -j flag (ggerganov#6659)
Browse files Browse the repository at this point in the history
* main: add --json-schema / -j

* json: move json-schema-to-grammar to common lib

* json: fix zig build
  • Loading branch information
ochafik authored and tybalex committed Apr 18, 2024
1 parent 8971a0f commit d20a642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d20a642

Please sign in to comment.