mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Update cubeb to latest version
This commit is contained in:
parent
8acb62f6ee
commit
f6de42a2ae
5 changed files with 61 additions and 50 deletions
17
3rdparty/cubeb/CMakeLists.txt
vendored
17
3rdparty/cubeb/CMakeLists.txt
vendored
|
@ -1,12 +1,23 @@
|
|||
# Cubeb
|
||||
|
||||
function(add_sanitizers ...)
|
||||
endfunction(add_sanitizers)
|
||||
|
||||
set(BUILD_SHARED_LIBS FALSE CACHE BOOL "Don't build shared libs")
|
||||
set(BUILD_TESTS FALSE CACHE BOOL "Don't build tests")
|
||||
set(BUILD_RUST_LIBS FALSE CACHE BOOL "Don't build rust libs")
|
||||
set(BUILD_TOOLS FALSE CACHE BOOL "Don't build tools")
|
||||
set(BUNDLE_SPEEX TRUE CACHE BOOL "Bundle the speex library")
|
||||
set(LAZY_LOAD_LIBS TRUE CACHE BOOL "Lazily load shared libraries")
|
||||
set(USE_SANITIZERS FALSE CACHE BOOL "Dont't use sanitizers")
|
||||
|
||||
add_subdirectory(cubeb EXCLUDE_FROM_ALL)
|
||||
add_library(3rdparty::cubeb ALIAS cubeb)
|
||||
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)")
|
||||
target_compile_definitions(speex PUBLIC
|
||||
_USE_NEON
|
||||
)
|
||||
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)")
|
||||
target_compile_definitions(speex PUBLIC
|
||||
_USE_SSE
|
||||
_USE_SSE2
|
||||
)
|
||||
endif ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue