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:
parent
1334e3c466
commit
938a407a44
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user