summaryrefslogtreecommitdiff
path: root/docs/Installation.md
diff options
context:
space:
mode:
authorStefano Borzì <stefanoborzi32@gmail.com>2019-03-03 20:03:57 +0100
committerFrancesco Borzì <borzifrancesco@gmail.com>2019-03-03 20:03:57 +0100
commit44c4babac6b6607abda4729a6a2c39ca3434f86c (patch)
tree013c93eca4b18afc9c96d68fb06d6821babec42b /docs/Installation.md
parentb95ffabb45046d160e2c718cece04a58afe61357 (diff)
downloadwiki-44c4babac6b6607abda4729a6a2c39ca3434f86c.tar.gz
wiki-44c4babac6b6607abda4729a6a2c39ca3434f86c.tar.bz2
wiki-44c4babac6b6607abda4729a6a2c39ca3434f86c.zip
Update Installation.md (#20)
Diffstat (limited to 'docs/Installation.md')
-rw-r--r--docs/Installation.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/Installation.md b/docs/Installation.md
index d682bcc..de9094e 100644
--- a/docs/Installation.md
+++ b/docs/Installation.md
@@ -49,6 +49,8 @@ Check the options here if you know what you're doing: [CMake options](CMake-opti
At this point, you must be in your "build/" directory.
+**Note**: in the follows command the variable `$HOME` is the path of the **current user**, so if you are logged as root, $HOME will be "/root".
+
```
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1
```
@@ -62,6 +64,8 @@ make install
**CMake on Mac OS X:**
+**Note**: in the follows command the variable `$HOME` is the path of the **current user**, so if you are logged as root, $HOME will be "/root".
+
```
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DTOOLS=0 -DSCRIPTS=1 -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient_r.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib
```