mirror of
https://github.com/occ-ai/obs-localvocal
synced 2024-11-07 18:57:14 +00:00
whisper universal
This commit is contained in:
parent
788b232ef1
commit
d794906bdc
@ -4,8 +4,8 @@ include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/common/bootstrap.cmake" NO_POLICY_SCO
|
||||
|
||||
project(${_name} VERSION ${_version})
|
||||
|
||||
option(ENABLE_FRONTEND_API "Use obs-frontend-api for UI functionality" OFF)
|
||||
option(ENABLE_QT "Use Qt functionality" OFF)
|
||||
option(ENABLE_FRONTEND_API "Use obs-frontend-api for UI functionality" ON)
|
||||
option(ENABLE_QT "Use Qt functionality" ON)
|
||||
|
||||
include(compilerconfig)
|
||||
include(defaults)
|
||||
|
@ -1,6 +1,6 @@
|
||||
include(ExternalProject)
|
||||
|
||||
string(REPLACE ";" "$<SEMICOLON>" CMAKE_OSX_ARCHITECTURES_ "${CMAKE_OSX_ARCHITECTURES}")
|
||||
set(CMAKE_OSX_ARCHITECTURES_ "arm64$<SEMICOLON>x86_64")
|
||||
|
||||
if(${CMAKE_BUILD_TYPE} STREQUAL Release OR ${CMAKE_BUILD_TYPE} STREQUAL RelWithDebInfo)
|
||||
set(Whispercpp_BUILD_TYPE Release)
|
||||
@ -26,7 +26,7 @@ ExternalProject_Add(
|
||||
-DCMAKE_BUILD_TYPE=${Whispercpp_BUILD_TYPE}
|
||||
-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
|
||||
# -DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_}
|
||||
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_}
|
||||
-DCMAKE_CXX_FLAGS=${WHISPER_EXTRA_CXX_FLAGS}
|
||||
-DCMAKE_C_FLAGS=${WHISPER_EXTRA_CXX_FLAGS}
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
|
Loading…
Reference in New Issue
Block a user