cmake : fix compile in xcode (#2311)

This commit is contained in:
Daven Sanassy 2024-08-05 07:48:26 +01:00 committed by GitHub
parent 6739eb83c3
commit fe36c90971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,7 @@ if (WHISPER_COREML)
set_target_properties(${TARGET} PROPERTIES set_target_properties(${TARGET} PROPERTIES
COMPILE_FLAGS "-fobjc-arc" COMPILE_FLAGS "-fobjc-arc"
XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_ARC YES
) )
set_target_properties(${TARGET} PROPERTIES FOLDER "libs") set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
endif() endif()