Przeglądaj źródła

cmake : fixed the order of linking libraries for llama-quantize (#9450)

Michael Podvitskiy 1 rok temu
rodzic
commit
ff76e18516
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/quantize/CMakeLists.txt

+ 1 - 1
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)