mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-05-08 07:29:38 +00:00
fix api version of deploy apk
This commit is contained in:
parent
3593154705
commit
52832b76a6
@ -390,10 +390,10 @@ function(addDeployAPK name android_src aliase keystore keystorePass targetDir)
|
||||
return()
|
||||
endif()
|
||||
|
||||
IF(DEFINED ENV{ANDROID_PLATFORM_LEVEL})
|
||||
set(ANDROID_PLATFORM_LEVEL ENV{ANDROID_PLATFORM_LEVEL})
|
||||
IF(DEFINED ENV{ANDROID_API_VERSION})
|
||||
set(ANDROID_PLATFORM_LEVEL $ENV{ANDROID_API_VERSION})
|
||||
else()
|
||||
set(ANDROID_PLATFORM_LEVEL 21)
|
||||
set(ANDROID_PLATFORM_LEVEL 28)
|
||||
endif()
|
||||
message("The ANDROID_PLATFORM_LEVEL = ${ANDROID_PLATFORM_LEVEL}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user