summaryrefslogtreecommitdiff
path: root/examples/llava/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/llava/CMakeLists.txt')
-rw-r--r--examples/llava/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/llava/CMakeLists.txt b/examples/llava/CMakeLists.txt
index e9fa73ac..bbf5fec5 100644
--- a/examples/llava/CMakeLists.txt
+++ b/examples/llava/CMakeLists.txt
@@ -36,3 +36,10 @@ set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME llama-llava-cli)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llava ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
+
+set(TARGET llama-minicpmv-cli)
+add_executable(${TARGET} minicpmv-cli.cpp)
+set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME llama-minicpmv-cli)
+install(TARGETS ${TARGET} RUNTIME)
+target_link_libraries(${TARGET} PRIVATE common llava ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_11)