cmake : add submodule whisper.spm

pull/128/head
Georgi Gerganov 2 years ago
parent c30bffc8a5
commit 4c66b6a828
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

3
.gitmodules vendored

@ -0,0 +1,3 @@
[submodule "bindings/ios"]
path = bindings/ios
url = https://github.com/ggerganov/whisper.spm

@ -9,6 +9,11 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(WHISPER_STANDALONE ON) set(WHISPER_STANDALONE ON)
include(cmake/GitVars.cmake) include(cmake/GitVars.cmake)
include(cmake/BuildTypes.cmake) include(cmake/BuildTypes.cmake)
# configure project version
if (EXISTS "${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl")
configure_file(${CMAKE_SOURCE_DIR}/bindings/ios/Makefile-tmpl ${CMAKE_SOURCE_DIR}/bindings/ios/Makefile @ONLY)
endif()
else() else()
set(WHISPER_STANDALONE OFF) set(WHISPER_STANDALONE OFF)
endif() endif()

@ -0,0 +1 @@
Subproject commit d5a7c79a98589387f1c55c33de9faa894e70713d
Loading…
Cancel
Save