diff options
author | Cuong Trinh Manh <nguoithichkhampha@gmail.com> | 2023-12-29 21:39:15 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 16:39:15 +0200 |
commit | 97bbca6e8522d18041fcde6c3d0907a52ce36446 (patch) | |
tree | 1c6881eba36c92b6931f4475e3ab6c6793592a69 /examples/server | |
parent | 4af4801566bc262a38fb77f51edf278ac323c2bd (diff) |
cmake : fix ld warning duplicate libraries libllama.a (#4671)
* fix "ld: warning: ignoring duplicate libraries: '../libllama.a'"
* fix warning in example.
Diffstat (limited to 'examples/server')
-rw-r--r-- | examples/server/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/CMakeLists.txt b/examples/server/CMakeLists.txt index 859cd12c..81709e44 100644 --- a/examples/server/CMakeLists.txt +++ b/examples/server/CMakeLists.txt @@ -6,7 +6,7 @@ install(TARGETS ${TARGET} RUNTIME) target_compile_definitions(${TARGET} PRIVATE SERVER_VERBOSE=$<BOOL:${LLAMA_SERVER_VERBOSE}> ) -target_link_libraries(${TARGET} PRIVATE common llama llava ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries(${TARGET} PRIVATE common llava ${CMAKE_THREAD_LIBS_INIT}) if (WIN32) TARGET_LINK_LIBRARIES(${TARGET} PRIVATE ws2_32) endif() |