[K/N][samples] Use mingw preinstalled only in the exact place

Newer versions got be env variable lead to linkage errors
This commit is contained in:
Pavel Punegov
2022-08-25 11:51:13 +02:00
committed by Space
parent e6150f5ef8
commit cde46adc08
+2 -1
View File
@@ -8,7 +8,8 @@ repositories {
maven("file://$localRepo")
}
val mingwPath = File(System.getenv("MINGW64_DIR") ?: "C:/msys64/mingw64")
//val mingwPath = File(System.getenv("MINGW64_DIR") ?: "C:/msys64/mingw64")
val mingwPath = File("C:/msys64/mingw64") // use only preinstalled verions from this path, otherwise fail with linkage errors
kotlin {
// Determine host preset.