diff --git a/CMakeLists.txt b/CMakeLists.txt index eedb2a73..9d4270ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,11 @@ project ("Whisper.net") add_subdirectory ("whisper.cpp") set_target_properties(ggml PROPERTIES OUTPUT_NAME "ggml-whisper") +set_target_properties(ggml-cpu PROPERTIES OUTPUT_NAME "ggml-cpu-whisper") +set_target_properties(ggml-base PROPERTIES OUTPUT_NAME "ggml-base-whisper") +set_target_properties(ggml-cuda PROPERTIES OUTPUT_NAME "ggml-cuda-whisper") +set_target_properties(ggml-vulkan PROPERTIES OUTPUT_NAME "ggml-vulkan-whisper") +set_target_properties(ggml-metal PROPERTIES OUTPUT_NAME "ggml-metal-whisper") if (CMAKE_SYSTEM_NAME STREQUAL "Android") # Set alignment to 16 KB. See https://developer.android.com/guide/practices/page-sizes#cmake diff --git a/windows-scripts.ps1 b/windows-scripts.ps1 index 1426e0b8..08426bc5 100644 --- a/windows-scripts.ps1 +++ b/windows-scripts.ps1 @@ -126,6 +126,8 @@ function BuildWindows() { Move-Item "$buildDirectory/bin/Release/whisper.dll" "$runtimePath/whisper.dll" -Force Move-Item "$buildDirectory/bin/Release/ggml-whisper.dll" "$runtimePath/ggml-whisper.dll" -Force + Move-Item "$buildDirectory/bin/Release/ggml-base-whisper.dll" "$runtimePath/ggml-base-whisper.dll" -Force + } function BuildWindowsArm([Parameter(Mandatory = $false)] [string]$Configuration = "Release") {