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.
This commit is contained in:
Jakub 'Eremiell' Marek 2022-01-18 22:51:21 +01:00 committed by Vittorio Romeo
parent 1334e3c466
commit 938a407a44

View File

@ -110,8 +110,8 @@ if(SFML_OS_ANDROID)
set(CMAKE_FIND_ROOT_PATH "${PROJECT_SOURCE_DIR};${CMAKE_FIND_ROOT_PATH}") set(CMAKE_FIND_ROOT_PATH "${PROJECT_SOURCE_DIR};${CMAKE_FIND_ROOT_PATH}")
# make sure there's the android library available # make sure there's the android library available
if (CMAKE_ANDROID_API LESS 14) if (CMAKE_ANDROID_API LESS 26)
message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 14.") message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 26.")
endif() endif()
# CMake doesn't support defining the STL to be used with Nsight Tegra, so warn the user # CMake doesn't support defining the STL to be used with Nsight Tegra, so warn the user