Fix for aarch64 architecture

This commit is contained in:
Edwin Jakobs
2020-01-29 14:07:47 +01:00
parent 6c3d1319cb
commit 15c188aee0

View File

@@ -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")