Update build.gradle.kts

设置cmake版本  version = "3.31.6" 修复cmake complier identification bypass 警告.
This commit is contained in:
Stevenchou1898
2025-03-08 09:25:48 -08:00
committed by GitHub
parent 1f1c1e84e6
commit 4cba8c3067
+3 -1
View File
@@ -45,6 +45,8 @@ android {
externalNativeBuild {
cmake {
// 设置cmake版本
version = "3.31.6"
path = file("src/main/cpp/CMakeLists.txt")
}
}
@@ -62,4 +64,4 @@ afterEvaluate {
tasks.withType(GolangBuildTask::class.java).forEach {
it.inputs.dir(golangSource)
}
}
}