mtmd : fix mtmd ios build (#15579)
This commit is contained in:
parent
44b1efa41a
commit
8ce3ff1d91
|
|
@ -55,6 +55,8 @@ add_executable(llama-qwen2vl-cli deprecation-warning.cpp)
|
||||||
set(TARGET llama-mtmd-cli)
|
set(TARGET llama-mtmd-cli)
|
||||||
add_executable (${TARGET} mtmd-cli.cpp)
|
add_executable (${TARGET} mtmd-cli.cpp)
|
||||||
set_target_properties (${TARGET} PROPERTIES OUTPUT_NAME llama-mtmd-cli)
|
set_target_properties (${TARGET} PROPERTIES OUTPUT_NAME llama-mtmd-cli)
|
||||||
install (TARGETS ${TARGET} RUNTIME)
|
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||||
|
install(TARGETS ${TARGET} RUNTIME)
|
||||||
|
endif()
|
||||||
target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)
|
target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)
|
||||||
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|
target_compile_features(${TARGET} PRIVATE cxx_std_17)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue