aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/CMakeLists.txt
blob: 0ac9cb03a8eca4494f38e6c57efc4909d63ffb9f (plain)
1
2
3
4
5
6
7
8
set(TARGET simple)
add_executable(${TARGET} simple.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if(TARGET BUILD_INFO)
  add_dependencies(${TARGET} BUILD_INFO)
endif()