From 5959b14b065c2363bdbe68032cfad3f8b4ef853f Mon Sep 17 00:00:00 2001 From: caitianchi Date: Fri, 19 Jul 2024 11:29:17 +0800 Subject: [PATCH] fix llama-minicpmv-cli in cmake file --- examples/llava/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/llava/CMakeLists.txt b/examples/llava/CMakeLists.txt index 74eee5e6b..c84fc643a 100644 --- a/examples/llava/CMakeLists.txt +++ b/examples/llava/CMakeLists.txt @@ -37,6 +37,13 @@ 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) + add_library(minicpmv_wrapper OBJECT minicpmv_wrapper.cpp )