From 7f4c5c66514227c3870c2bd189fb0609fdd0de10 Mon Sep 17 00:00:00 2001 From: anzz1 Date: Tue, 28 Mar 2023 21:23:09 +0300 Subject: llama : fix linkage with mingw (#551) * Revert 7e53955 (#542) Still needs to be fixed properly * Fix linking on mingw32 --- examples/embedding/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/embedding') diff --git a/examples/embedding/CMakeLists.txt b/examples/embedding/CMakeLists.txt index def5b831..88c425d4 100644 --- a/examples/embedding/CMakeLists.txt +++ b/examples/embedding/CMakeLists.txt @@ -1,4 +1,4 @@ set(TARGET embedding) add_executable(${TARGET} embedding.cpp) -target_link_libraries(${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) target_compile_features(${TARGET} PRIVATE cxx_std_11) -- cgit v1.2.3