diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-03-16 11:31:02 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2022-03-16 11:31:02 +0100 |
commit | e891749956af31225e589e66d6513695355811af (patch) | |
tree | 5aac180529b3e8d33d6a15feca81905be1a0bb18 /main | |
parent | 9fa4fa77771452a4d632089842828cc27ebd9897 (diff) |
Small updates to gradle versions
Diffstat (limited to 'main')
-rw-r--r-- | main/build.gradle.kts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts index 355a429e..18591e8a 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -120,9 +120,11 @@ android { } var swigcmd = "swig" -// Workaround for Mac OS X since it otherwise does not find swig and I cannot get -// the Exec task to respect the PATH environment :( -if (File("/usr/local/bin/swig").exists()) +// Workaround for macOS(arm64) and macOS(intel) since it otherwise does not find swig and +// I cannot get the Exec task to respect the PATH environment :( +if (file("/opt/homebrew/bin/swig").exists()) + swigcmd = "/opt/homebrew/bin/swig" +else if (file("/usr/local/bin/swig").exists()) swigcmd = "/usr/local/bin/swig" |