gguf : simplify example dependencies

This commit is contained in:
Georgi Gerganov 2023-12-21 23:07:58 +02:00
parent 4a5f9d629e
commit 32259b2dad
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
3 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
set(TARGET gguf)
add_executable(${TARGET} gguf.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(${TARGET} PRIVATE ggml ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)

View file

@ -1,5 +1,4 @@
#include "ggml.h"
#include "llama.h"
#include <cstdio>
#include <cinttypes>