diff --git a/CMakeLists.txt b/CMakeLists.txt index a4da9d468..1a21f3eca 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