summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-10-13 16:59:49 +0200
committerAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-10-14 19:16:28 +0200
commitd159767318a3bd80586cb63f00a04177b241dbb2 (patch)
tree135fe0e678417b3124d960a3350010b7346880a7 /cmake
parentc849c48d19cc0b086f98688d760fa6e008adc50e (diff)
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 <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/README.md b/cmake/README.md
index 64b4321189..9800dae1ce 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