diff options
| author | Edwin Jakobs <edwin@rndr.studio> | 2022-02-10 17:37:55 +0100 |
|---|---|---|
| committer | Edwin Jakobs <edwin@rndr.studio> | 2022-02-10 17:37:55 +0100 |
| commit | f7069cd08b59f6b30dcbc721bd10bfd3138ffad7 (patch) | |
| tree | c3ea4c2d662ce0d3b19c447789885fd400ec2ec9 /build.gradle.kts | |
| parent | f6f224f2b573c20169012c12a64be8980412b8d8 (diff) | |
| download | art-playground-openrndr-f7069cd08b59f6b30dcbc721bd10bfd3138ffad7.tar.gz art-playground-openrndr-f7069cd08b59f6b30dcbc721bd10bfd3138ffad7.zip | |
Attempt to add macOS m1 libraries
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index ad65f04..f49082d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -217,7 +217,10 @@ class Openrndr { } } else when (OperatingSystem.current()) { OperatingSystem.WINDOWS -> "windows" - OperatingSystem.MAC_OS -> "macos" + OperatingSystem.MAC_OS -> when (val h = DefaultNativePlatform("current").architecture.name) { + "aarch64" -> "macos-arm64" + else -> "macos" + } OperatingSystem.LINUX -> when (val h = DefaultNativePlatform("current").architecture.name) { "x86-64" -> "linux-x64" "aarch64" -> "linux-arm64" @@ -263,5 +266,5 @@ class Openrndr { } } } - +println("this is the architecture we found: ${DefaultNativePlatform("current").architecture.name}") val openrndr = Openrndr() |
