There was an error while loading. Please reload this page.
1 parent 4185033 commit ccd09f8Copy full SHA for ccd09f8
1 file changed
cmake/BuildWhispercpp.cmake
@@ -87,7 +87,9 @@ if(APPLE)
87
88
install_library_to_bundle(${whispercpp_fetch_SOURCE_DIR} libomp.dylib)
89
install_library_to_bundle(${whispercpp_fetch_SOURCE_DIR} libvulkan.1.dylib)
90
- target_add_resource(${CMAKE_PROJECT_NAME} ${whispercpp_fetch_SOURCE_DIR}/bin/default.metallib)
+ if(NOT $ENV{MACOS_VERSION} STREQUAL "embedded")
91
+ target_add_resource(${CMAKE_PROJECT_NAME} ${whispercpp_fetch_SOURCE_DIR}/bin/default.metallib)
92
+ endif()
93
elseif(WIN32)
94
add_compile_definitions(WHISPER_DYNAMIC_BACKENDS)
95
0 commit comments