From 92b6c34ba9f71ccfd172c3f0655ad1cd9b2a4ebf Mon Sep 17 00:00:00 2001 From: Qhilm <3350433+Qhilm@users.noreply.github.com> Date: Fri, 18 Oct 2024 08:55:17 +0200 Subject: [PATCH] homebrew path for Apple Silicon Macs --- BUILDING_OSX.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING_OSX.md b/BUILDING_OSX.md index b5f5e34db..f15de0bd1 100644 --- a/BUILDING_OSX.md +++ b/BUILDING_OSX.md @@ -30,7 +30,7 @@ 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 @@ -38,4 +38,4 @@ resolving, e.g.: ```bash export CMAKE_PREFIX_PATH=`brew --prefix giflib`:`brew --prefix jpeg-turbo`:`brew --prefix libpng`:`brew --prefix zlib` -``` \ No newline at end of file +```