Skip to content

Commit

Permalink
cmake : fix compile in xcode (ggerganov#2311)
Browse files Browse the repository at this point in the history
  • Loading branch information
davens authored and iThalay committed Sep 23, 2024
1 parent cdfe9a6 commit 53a04a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ if (WHISPER_COREML)

set_target_properties(${TARGET} PROPERTIES
COMPILE_FLAGS "-fobjc-arc"
XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_ARC YES
)
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
endif()
Expand Down

0 comments on commit 53a04a7

Please sign in to comment.