-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
4 changed files
with
32 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.28...3.29) | ||
project(${SKBUILD_PROJECT_NAME} LANGUAGES CXX) | ||
|
||
set(WHISPER_BUILD_EXAMPLES ON CACHE BOOL "" FORCE) | ||
|
||
include(FetchContent) | ||
FetchContent_Declare(whisper-cpp | ||
URL https://github.com/ggerganov/whisper.cpp/archive/refs/tags/v1.5.5.zip | ||
URL_HASH MD5=7262e27c619a0e51e5e2892e429d7481 | ||
EXCLUDE_FROM_ALL | ||
) | ||
FetchContent_MakeAvailable(whisper-cpp) | ||
|
||
set_target_properties(main PROPERTIES OUTPUT_NAME whisper-cpp EXCLUDE_FROM_ALL FALSE) | ||
|
||
install(TARGETS main RUNTIME DESTINATION "${SKBUILD_SCRIPTS_DIR}" RENAME) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters