Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "bindings/ios"]
path = bindings/ios
url = https://github.com/ggerganov/whisper.spm
[submodule "ggml"]
path = ggml
url = https://github.com/ggerganov/ggml
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ endif()
set(TARGET whisper)

add_library(${TARGET}
ggml.h
ggml.c
whisper.h
whisper.cpp
)
Expand All @@ -198,7 +196,10 @@ include(DefaultTargetOptions)

target_include_directories(${TARGET} PUBLIC
.
)
)

add_subdirectory(ggml)
target_link_libraries(${TARGET} PRIVATE ggml)

if (MSVC)
target_link_libraries(${TARGET} PRIVATE ${WHISPER_EXTRA_LIBS} ${CMAKE_THREAD_LIBS_INIT})
Expand Down
1 change: 1 addition & 0 deletions ggml
Submodule ggml added at 4c2f92
Loading