aboutsummaryrefslogtreecommitdiff
path: root/examples/save-load-state/CMakeLists.txt
blob: eadd13cdf7930a09bdf6e1790c596a8b0a652ff5 (plain)
1
2
3
4
5
6
7
8
set(TARGET save-load-state)
add_executable(${TARGET} save-load-state.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()