mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 12:50:04 +00:00
externals: Add option to use system SoundTouch (#6971)
This commit is contained in:
parent
d2d37411bc
commit
8aee625a14
5 changed files with 84 additions and 7 deletions
11
externals/CMakeLists.txt
vendored
11
externals/CMakeLists.txt
vendored
|
@ -122,10 +122,13 @@ add_subdirectory(open_source_archives)
|
|||
add_subdirectory(library-headers EXCLUDE_FROM_ALL)
|
||||
|
||||
# SoundTouch
|
||||
set(INTEGER_SAMPLES ON CACHE BOOL "")
|
||||
set(SOUNDSTRETCH OFF CACHE BOOL "")
|
||||
set(SOUNDTOUCH_DLL OFF CACHE BOOL "")
|
||||
add_subdirectory(soundtouch EXCLUDE_FROM_ALL)
|
||||
if(NOT USE_SYSTEM_SOUNDTOUCH)
|
||||
set(INTEGER_SAMPLES ON CACHE BOOL "")
|
||||
set(SOUNDSTRETCH OFF CACHE BOOL "")
|
||||
set(SOUNDTOUCH_DLL OFF CACHE BOOL "")
|
||||
add_subdirectory(soundtouch EXCLUDE_FROM_ALL)
|
||||
target_compile_definitions(SoundTouch PUBLIC SOUNDTOUCH_INTEGER_SAMPLES)
|
||||
endif()
|
||||
|
||||
# sirit
|
||||
add_subdirectory(sirit EXCLUDE_FROM_ALL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue