Browse Source

Fix macOS M1 architecture not being correctly detected for lwjgl

master
vechro 2 years ago
committed by Edwin Jakobs
parent
commit
a42a2bd9a3
  1. 2
      build.gradle.kts

2
build.gradle.kts

@ -219,7 +219,7 @@ class Openrndr {
} else when (OperatingSystem.current()) {
OperatingSystem.WINDOWS -> "windows"
OperatingSystem.MAC_OS -> when (val h = DefaultNativePlatform("current").architecture.name) {
"arm-v8" -> "macos-arm64"
"aarch64", "arm-v8" -> "macos-arm64"
else -> "macos"
}
OperatingSystem.LINUX -> when (val h = DefaultNativePlatform("current").architecture.name) {

Loading…
Cancel
Save