From: fidoriel Date: Tue, 26 Aug 2025 18:05:50 +0000 (+0200) Subject: mtmd : fix mtmd ios build (#15579) X-Git-Tag: upstream/0.0.6527~235 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=8ce3ff1d91245e158d98d8062cd64b0dd98dcfe3;p=pkg%2Fggml%2Fsources%2Fllama.cpp mtmd : fix mtmd ios build (#15579) --- diff --git a/tools/mtmd/CMakeLists.txt b/tools/mtmd/CMakeLists.txt index 4baa15b9..09794885 100644 --- a/tools/mtmd/CMakeLists.txt +++ b/tools/mtmd/CMakeLists.txt @@ -55,6 +55,8 @@ add_executable(llama-qwen2vl-cli deprecation-warning.cpp) set(TARGET llama-mtmd-cli) add_executable (${TARGET} mtmd-cli.cpp) 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_compile_features(${TARGET} PRIVATE cxx_std_17)