From d159767318a3bd80586cb63f00a04177b241dbb2 Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Thu, 13 Oct 2022 16:59:49 +0200 Subject: [PATCH] Clarify a Point for Building Locally on Apple Silicon On Apple Silicon, Homebrew is installed under `/opt/homebrew` instead of `/usr/local`, so I made a minor change clarifying this. Change-Id: Ifccb51325339f80f8ed3c2a4f8acab485686af7e Reviewed-by: Alexandru Croitor --- cmake/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/README.md b/cmake/README.md index 64b43211896..9800dae1ce4 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -48,7 +48,9 @@ You may use brew to install dependencies needed to build QtBase. `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` * Build Qt dependencies: ``brew install pcre2 harfbuzz freetype`` * Install cmake: ``brew install cmake`` - * When running cmake in qtbase, pass ``-DCMAKE_PREFIX_PATH=/usr/local`` + * When running cmake in qtbase, pass ``-DFEATURE_pkg_config=ON`` together with + ``-DCMAKE_PREFIX_PATH=/usr/local``, or ``-DCMAKE_PREFIX_PATH=/opt/homebrew`` if you have a Mac + with Apple Silicon. # Building