From: Michael Podvitskiy Date: Thu, 12 Sep 2024 11:27:14 +0000 (+0200) Subject: cmake : fixed the order of linking libraries for llama-quantize (#9450) X-Git-Tag: upstream/0.0.4488~747 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ff76e18516dbe269b35ba1bb500524ed5e39225c;p=pkg%2Fggml%2Fsources%2Fllama.cpp cmake : fixed the order of linking libraries for llama-quantize (#9450) --- diff --git a/examples/quantize/CMakeLists.txt b/examples/quantize/CMakeLists.txt index 3ee4eb97..62680cda 100644 --- a/examples/quantize/CMakeLists.txt +++ b/examples/quantize/CMakeLists.txt @@ -1,6 +1,6 @@ set(TARGET llama-quantize) add_executable(${TARGET} quantize.cpp) install(TARGETS ${TARGET} RUNTIME) -target_link_libraries(${TARGET} PRIVATE llama common ${CMAKE_THREAD_LIBS_INIT}) +target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) target_include_directories(${TARGET} PRIVATE ../../common) target_compile_features(${TARGET} PRIVATE cxx_std_11)