Browse Source

Fix for aarch64 architecture

master
Edwin Jakobs 5 years ago
parent
commit
15c188aee0
  1. 2
      build.gradle.kts

2
build.gradle.kts

@ -40,7 +40,7 @@ val openrndrOs = if (project.hasProperty("targetPlatform")) {
OperatingSystem.MAC_OS -> "macos"
OperatingSystem.LINUX -> when(val h = DefaultNativePlatform("current").architecture.name) {
"x86-64" -> "linux-x64"
"arm64" -> "linux-arm64"
"aarch64" -> "linux-arm64"
else ->throw IllegalArgumentException("architecture not supported: $h")
}
else -> throw IllegalArgumentException("os not supported")

Loading…
Cancel
Save