]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
mtmd : fix mtmd ios build (#15579)
authorfidoriel <redacted>
Tue, 26 Aug 2025 18:05:50 +0000 (20:05 +0200)
committerGitHub <redacted>
Tue, 26 Aug 2025 18:05:50 +0000 (20:05 +0200)
tools/mtmd/CMakeLists.txt

index 4baa15b9609fc173ff26f5dcccbd4ed9300c2a86..097948856038ecd81668e5f1b596fa562265de13 100644 (file)
@@ -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)