summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNariman <nariman.poushin@gmail.com>2023-02-25 15:28:52 +0000
committerGitHub <noreply@github.com>2023-02-25 16:28:52 +0100
commit5fad0027400b66e72010567098cae4d011eda9c0 (patch)
tree4085cd68843392cda985db6203dc9116d9929ca1 /docs
parent934846c109c88c9bf4c60c21ea29933bb022e56f (diff)
downloadwiki-5fad0027400b66e72010567098cae4d011eda9c0.tar.gz
wiki-5fad0027400b66e72010567098cae4d011eda9c0.tar.bz2
wiki-5fad0027400b66e72010567098cae4d011eda9c0.zip
macos-core-installation.md: Fix paths for brew packages (#874)
Also streamline the usage of nproc in the commands
Diffstat (limited to 'docs')
-rw-r--r--docs/macos-core-installation.md20
1 files changed, 6 insertions, 14 deletions
diff --git a/docs/macos-core-installation.md b/docs/macos-core-installation.md
index db1e49d..eb639a4 100644
--- a/docs/macos-core-installation.md
+++ b/docs/macos-core-installation.md
@@ -64,26 +64,18 @@ cmake ../ \
-DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ \
-DTOOLS_BUILD=all \
-DSCRIPTS=static \
--DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \
--DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib \
--DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include \
--DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib \
+-DMYSQL_ADD_INCLUDE_PATH=/opt/homebrew/include/mysql \
+-DMYSQL_LIBRARY=/opt/homebrew/lib/libmysqlclient.dylib \
+-DREADLINE_INCLUDE_DIR=/opt/homebrew/opt/readline/include \
+-DREADLINE_LIBRARY=/opt/homebrew/opt/readline/lib/libreadline.dylib \
-DOPENSSL_INCLUDE_DIR="$OPENSSL_ROOT_DIR/include" \
-DOPENSSL_SSL_LIBRARIES="$OPENSSL_ROOT_DIR/lib/libssl.dylib" \
-DOPENSSL_CRYPTO_LIBRARIES="$OPENSSL_ROOT_DIR/lib/libcrypto.dylib"
```
-
-To know the amount of cores available.
-You can use the following command
-
-```sh
-nproc --all
-```
-
-Then, replacing `4` with the number of threads that you want to execute, type:
+Then, to build and install:
```sh
-make -j 4
+make -j `nproc`
make install
```