Skip to content

Commit

Permalink
homebrew path for Apple Silicon Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
Qhilm authored Oct 18, 2024
1 parent 13dfbac commit 92b6c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILDING_OSX.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ brew install coreutils cmake giflib jpeg-turbo libpng ninja zlib
```

Before building the project check that `which clang` is
`/usr/local/opt/llvm/bin/clang`, not the one provided by XCode. If not, update
`/usr/local/opt/llvm/bin/clang` (or `/opt/homebrew/opt/llvm/bin/clang` on Apple Silicon Macs), not the one provided by XCode. If not, update
`PATH` environment variable.

Also, setting `CMAKE_PREFIX_PATH` might be necessary for correct include paths
resolving, e.g.:

```bash
export CMAKE_PREFIX_PATH=`brew --prefix giflib`:`brew --prefix jpeg-turbo`:`brew --prefix libpng`:`brew --prefix zlib`
```
```

0 comments on commit 92b6c34

Please sign in to comment.