Skip to content

Commit 9d5b509

Browse files
committed
build: default to Android API 28
Set the default value for Android API level to 28 which is the current recommendation as per the Android workgroup.
1 parent efbd1af commit 9d5b509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ set(SWIFT_SDK_LINUX_ARCHITECTURES "" CACHE STRING
551551
# User-configurable Android specific options.
552552
#
553553

554-
set(SWIFT_ANDROID_API_LEVEL "" CACHE STRING
555-
"Version number for the Android API")
554+
set(SWIFT_ANDROID_API_LEVEL "28" CACHE STRING
555+
"Version number for the Android API (default: 28)")
556556

557557
set(SWIFT_ANDROID_NDK_PATH "" CACHE STRING
558558
"Path to the directory that contains the Android NDK tools that are executable on the build machine")

0 commit comments

Comments
 (0)