Browse Source

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

Michael Podvitskiy 1 year ago
parent
commit
ff76e18516
1 changed files with 1 additions and 1 deletions
  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)