Update build.gradle.kts
设置cmake版本 version = "3.31.6" 修复cmake complier identification bypass 警告.
This commit is contained in:
@@ -45,6 +45,8 @@ android {
|
|||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
// 设置cmake版本
|
||||||
|
version = "3.31.6"
|
||||||
path = file("src/main/cpp/CMakeLists.txt")
|
path = file("src/main/cpp/CMakeLists.txt")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -62,4 +64,4 @@ afterEvaluate {
|
|||||||
tasks.withType(GolangBuildTask::class.java).forEach {
|
tasks.withType(GolangBuildTask::class.java).forEach {
|
||||||
it.inputs.dir(golangSource)
|
it.inputs.dir(golangSource)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user