Skip to content

Commit

Permalink
Update CMake version for AV1 extension
Browse files Browse the repository at this point in the history
The specified CMake version doesn't work with the latest
Android Studio releases. Updating to a more recent version
fixes the problem.

Issue: #9933
PiperOrigin-RevId: 467634063
  • Loading branch information
tonihei authored and marcbaechinger committed Oct 19, 2022
1 parent 9a7fde8 commit 80b635e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/av1/build.gradle
Expand Up @@ -32,7 +32,7 @@ android {
if (project.file('src/main/jni/libgav1').exists()) {
android.externalNativeBuild.cmake {
path = 'src/main/jni/CMakeLists.txt'
version = '3.7.1+'
version = '3.21.0+'
if (project.hasProperty('externalNativeBuildDir')) {
if (!new File(externalNativeBuildDir).isAbsolute()) {
ext.externalNativeBuildDir =
Expand Down
3 changes: 2 additions & 1 deletion extensions/av1/src/main/jni/CMakeLists.txt
Expand Up @@ -14,7 +14,8 @@
# limitations under the License.
#

cmake_minimum_required(VERSION 3.7.1 FATAL_ERROR)
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)

set(CMAKE_CXX_STANDARD 11)

project(libgav1JNI C CXX)
Expand Down

0 comments on commit 80b635e

Please sign in to comment.