]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : fixed the order of linking libraries for llama-quantize (#9450)
authorMichael Podvitskiy <redacted>
Thu, 12 Sep 2024 11:27:14 +0000 (13:27 +0200)
committerGitHub <redacted>
Thu, 12 Sep 2024 11:27:14 +0000 (14:27 +0300)
examples/quantize/CMakeLists.txt

index 3ee4eb9719fc4076fedf393e5dca78fa1de1d6e7..62680cda4455f1959b1f43a1b36e85a6b6df9820 100644 (file)
@@ -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)