Skip to content

Commit 8ce3ff1

Browse files
authored
mtmd : fix mtmd ios build (ggml-org#15579)
1 parent 44b1efa commit 8ce3ff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/mtmd/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ add_executable(llama-qwen2vl-cli deprecation-warning.cpp)
5555
set(TARGET llama-mtmd-cli)
5656
add_executable (${TARGET} mtmd-cli.cpp)
5757
set_target_properties (${TARGET} PROPERTIES OUTPUT_NAME llama-mtmd-cli)
58-
install (TARGETS ${TARGET} RUNTIME)
58+
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
59+
install(TARGETS ${TARGET} RUNTIME)
60+
endif()
5961
target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)
6062
target_compile_features(${TARGET} PRIVATE cxx_std_17)

0 commit comments

Comments
 (0)