]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
cmake : fix define used for COREML_ALLOW_FALLBACK (#893)
authorJonathan Soo <redacted>
Mon, 8 May 2023 18:08:09 +0000 (14:08 -0400)
committerGitHub <redacted>
Mon, 8 May 2023 18:08:09 +0000 (21:08 +0300)
CMakeLists.txt

index 32533006771b39bdce0c4910577ec9c3a138c2ab..ed4ea24913fe63b485b0437bf8662a4e4a5ef23d 100644 (file)
@@ -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()