CMakeLists.txt 331 B

123456789
  1. set(TARGET llama-quantize)
  2. add_executable(${TARGET} quantize.cpp)
  3. target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
  4. target_include_directories(${TARGET} PRIVATE ../../common)
  5. target_compile_features(${TARGET} PRIVATE cxx_std_17)
  6. if(LLAMA_TOOLS_INSTALL)
  7. install(TARGETS ${TARGET} RUNTIME)
  8. endif()