llama.cpp/examples/main/CMakeLists.txt

7 lines
288 B
CMake
Raw Normal View History

2024-06-08 13:50:35 +02:00
set(TARGET llama-cli)
add_executable(${TARGET} main.cpp)
2024-06-07 01:21:01 +02:00
set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME llama)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)