# cmake: also check Homebrew install paths when looking for LLVM · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30

Requested commit: 23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30

Commit: 23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30

Tree: 31f3c92a95f2dfb3a61d71872ba19f3e12aa8976

Author: FnControlOption

Committer: Andrew Kelley

## Message

```
cmake: also check Homebrew install paths when looking for LLVM

- On Intel Macs, the path is /usr/local/opt/llvm@12
- On Silicon Macs, the path is /opt/homebrew/opt/llvm@12

This makes specifying CMAKE_PREFIX_PATH optional for Homebrew LLVM.

```

## Parents

- [175d95b59165e3455bc05f0d328a7f86cedb307e](https://git.cafe/gitcafe/zig/commit/175d95b59165e3455bc05f0d328a7f86cedb307e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/23c25c5eaf959549e2f8e090a6c0eae7cfa6cb30?format=markdown)
