llama.cpp/examples/main/CMakeLists.txt
2024-06-07 00:21:01 +01:00

7 lines
288 B
CMake

set(TARGET llama-bin)
add_executable(${TARGET} main.cpp)
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)