From 938a407a449dde0a23f9b7943ccf7a056fd19673 Mon Sep 17 00:00:00 2001 From: Jakub 'Eremiell' Marek Date: Tue, 18 Jan 2022 22:51:21 +0100 Subject: [PATCH] Update required Android API level in CMakeLists API level 26 is required in the CI pipeline, so this seems to be a leftover from some earlier version. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a4da9d46..1a21f3ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,8 +110,8 @@ if(SFML_OS_ANDROID) set(CMAKE_FIND_ROOT_PATH "${PROJECT_SOURCE_DIR};${CMAKE_FIND_ROOT_PATH}") # make sure there's the android library available - if (CMAKE_ANDROID_API LESS 14) - message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 14.") + if (CMAKE_ANDROID_API LESS 26) + message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 26.") endif() # CMake doesn't support defining the STL to be used with Nsight Tegra, so warn the user