From: Jonathan Soo Date: Mon, 8 May 2023 18:08:09 +0000 (-0400) Subject: cmake : fix define used for COREML_ALLOW_FALLBACK (#893) X-Git-Tag: upstream/1.7.4~1443 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=bf2449dfae35a46b2cd92ab22661ce81a48d4993;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp cmake : fix define used for COREML_ALLOW_FALLBACK (#893) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 32533006..ed4ea249 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ if (APPLE) endif() if (WHISPER_COREML_ALLOW_FALLBACK) - set(WHISPER_EXTRA_FLAGS ${WHISPER_EXTRA_FLAGS} -DWHISPER_USE_COREML_ALLOW_FALLBACK) + set(WHISPER_EXTRA_FLAGS ${WHISPER_EXTRA_FLAGS} -DWHISPER_COREML_ALLOW_FALLBACK) endif() endif() endif()