From 1a6b7b33b973abec07456dc22e4ff93c3fa3a05c Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sat, 6 Jun 2020 23:00:39 +0900 Subject: [PATCH] Android: Compile SDL_mixer with ogg support This enables voice playback in Escalayer. --- android/app/jni/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/jni/CMakeLists.txt b/android/app/jni/CMakeLists.txt index 9cd32ce..e54afa0 100644 --- a/android/app/jni/CMakeLists.txt +++ b/android/app/jni/CMakeLists.txt @@ -40,6 +40,7 @@ endif() FetchContent_GetProperties(SDL_mixer) if(NOT sdl_mixer_POPULATED) FetchContent_Populate(SDL_mixer) + SET(SUPPORT_OGG ON CACHE BOOL "Enable OGG support in SDL_mixer" FORCE) add_subdirectory(${sdl_mixer_SOURCE_DIR} ${sdl_mixer_BINARY_DIR}) # Workaround for CMakeLists.txt bugs of SDL_mixer. # TODO: Fix these in upstream