cmake : Do not install tools on iOS targets (#15903)

This commit is contained in:
Yuri Khrustalev authored and GitHub committed 2025-09-16 09:54:44 +07:00
1 parent 6d758839ff
commit 07808ebb07
14 files changed
+54 -13

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ 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)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
if(LLAMA_TOOLS_INSTALL)
install(TARGETS ${TARGET} RUNTIME)
endif()
target_link_libraries (${TARGET} PRIVATE common mtmd Threads::Threads)