From fb3b34f496d60326d85a57c190e76ac9775a98c8 Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Thu, 26 Feb 2026 19:33:30 +0300 Subject: [PATCH] - disable OpenCore AMR libraries usage on Android; vcpkg doesn't include them. --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 058ae75c..bdddec48 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -55,8 +55,11 @@ if (CMAKE_SYSTEM MATCHES "Darwin*") set (LIBS_STATIC ${LIBS_STATIC} dl) endif() -# + if (CMAKE_SYSTEM MATCHES "Android") + # Disable opencore AMR codecs - there is no ready libraries in vcpkg right now + set (USE_AMR_CODEC OFF) + message("Adding the Oboe library") set (OBOE_DIR libs/oboe) add_subdirectory (${OBOE_DIR} ./oboe)