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/perplexity/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/perplexity') diff --git a/examples/perplexity/CMakeLists.txt b/examples/perplexity/CMakeLists.txt index 9bd8e37..5836df8 100644 --- a/examples/perplexity/CMakeLists.txt +++ b/examples/perplexity/CMakeLists.txt @@ -1,4 +1,4 @@ set(TARGET perplexity) add_executable(${TARGET} perplexity.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