Fix for aarch64 architecture
This commit is contained in:
@@ -40,7 +40,7 @@ val openrndrOs = if (project.hasProperty("targetPlatform")) {
|
|||||||
OperatingSystem.MAC_OS -> "macos"
|
OperatingSystem.MAC_OS -> "macos"
|
||||||
OperatingSystem.LINUX -> when(val h = DefaultNativePlatform("current").architecture.name) {
|
OperatingSystem.LINUX -> when(val h = DefaultNativePlatform("current").architecture.name) {
|
||||||
"x86-64" -> "linux-x64"
|
"x86-64" -> "linux-x64"
|
||||||
"arm64" -> "linux-arm64"
|
"aarch64" -> "linux-arm64"
|
||||||
else ->throw IllegalArgumentException("architecture not supported: $h")
|
else ->throw IllegalArgumentException("architecture not supported: $h")
|
||||||
}
|
}
|
||||||
else -> throw IllegalArgumentException("os not supported")
|
else -> throw IllegalArgumentException("os not supported")
|
||||||
|
|||||||
Reference in New Issue
Block a user