Browse Source

Use the latest Android SDK embedded CMake version (3.10.2).

Yao Wei Tjong 姚伟忠 6 years ago
parent
commit
8ed8a78939

+ 1 - 0
android/launcher-app/build.gradle.kts

@@ -76,6 +76,7 @@ android {
     }
     }
     externalNativeBuild {
     externalNativeBuild {
         cmake {
         cmake {
+            setVersion(cmakeVersion)
             setPath(project.file("CMakeLists.txt"))
             setPath(project.file("CMakeLists.txt"))
         }
         }
     }
     }

+ 1 - 0
android/urho3d-lib/build.gradle.kts

@@ -92,6 +92,7 @@ android {
     }
     }
     externalNativeBuild {
     externalNativeBuild {
         cmake {
         cmake {
+            setVersion(cmakeVersion)
             setPath(project.file("../../CMakeLists.txt"))
             setPath(project.file("../../CMakeLists.txt"))
         }
         }
     }
     }

+ 1 - 0
buildSrc/src/main/kotlin/UrhoCommon.kt

@@ -24,6 +24,7 @@ import org.gradle.plugin.use.PluginDependenciesSpec
 import org.gradle.plugin.use.PluginDependencySpec
 import org.gradle.plugin.use.PluginDependencySpec
 import java.io.File
 import java.io.File
 
 
+const val cmakeVersion = "3.10.2"
 const val androidToolsVersion = "3.5.0-alpha10"
 const val androidToolsVersion = "3.5.0-alpha10"
 const val kotlinVersion = "1.3.20"
 const val kotlinVersion = "1.3.20"
 const val junitVersion = "4.12"
 const val junitVersion = "4.12"