From a42a2bd9a30d03ae820fabb0a6fc0d58e38581e5 Mon Sep 17 00:00:00 2001 From: vechro Date: Sat, 8 Oct 2022 09:36:38 +0300 Subject: [PATCH] Fix macOS M1 architecture not being correctly detected for lwjgl --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index ebaf6d4..a82c602 100644 --- a/build.gradle.kts +++ b/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) {