From: Daven Sanassy Date: Mon, 5 Aug 2024 06:48:26 +0000 (+0100) Subject: cmake : fix compile in xcode (#2311) X-Git-Tag: upstream/1.7.4~571 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=fe36c909715e6751277ddb020e7892c7670b61d4;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp cmake : fix compile in xcode (#2311) --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 88080f75..6ac22558 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()