summaryrefslogtreecommitdiff
path: root/examples/llama-bench/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/llama-bench/CMakeLists.txt')
-rw-r--r--examples/llama-bench/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/llama-bench/CMakeLists.txt b/examples/llama-bench/CMakeLists.txt
new file mode 100644
index 00000000..7e395afd
--- /dev/null
+++ b/examples/llama-bench/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(TARGET llama-bench)
+add_executable(${TARGET} llama-bench.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()