ice-builder-gradle icon indicating copy to clipboard operation
ice-builder-gradle copied to clipboard

Fix macOS Ice installation detection

Open externl opened this issue 1 year ago • 0 comments

https://github.com/zeroc-ice/ice-builder-gradle/blob/cffcc02d780aac84fc518717a9ad7de4a05a0de1/src/main/groovy/com/zeroc/gradle/icebuilder/slice/SliceExtension.groovy#L133

We currently assume that Ice will be installed to /usr/local. With our default installation using brew on Apple Silicon, this will typically be /opt/homebrew/.

We should probably check a few places and/or check for brew --prefix.

externl avatar Feb 23 '23 16:02 externl