diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7a1a7e2c6..0f0c230ff 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -143,7 +143,7 @@ android { externalNativeBuild { cmake { path = file("src/main/cpp/CMakeLists.txt") - version = "3.27.1" + version = "3.22.1" } } namespace = "me.timschneeberger.rootlessjamesdsp" diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index 34fe8ed48..189c49dda 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -3,7 +3,7 @@ # Sets the minimum version of CMake required to build the native library. -cmake_minimum_required(VERSION 3.27.1) +cmake_minimum_required(VERSION 3.22.1) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffunction-sections -fdata-sections -Ofast -ftree-vectorize -DDEBUG") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffunction-sections -fdata-sections -Ofast -ftree-vectorize -DDEBUG")