summaryrefslogtreecommitdiff
path: root/docs/Installation.md
diff options
context:
space:
mode:
authorStoabrogga <38475780+Stoabrogga@users.noreply.github.com>2019-11-01 17:49:34 +0100
committerStefano Borzì <stefanoborzi32@gmail.com>2019-11-01 17:49:34 +0100
commit3cf921a3a369964ba37d83b400d9c6b75dbea0d6 (patch)
tree456d141571efdbb864f685cd6d63e4e40d2e278c /docs/Installation.md
parent339e9324e7f6e5bf4a25805868e889c84450948e (diff)
downloadwiki-3cf921a3a369964ba37d83b400d9c6b75dbea0d6.tar.gz
wiki-3cf921a3a369964ba37d83b400d9c6b75dbea0d6.tar.bz2
wiki-3cf921a3a369964ba37d83b400d9c6b75dbea0d6.zip
Update "How-to-create-a-PR" and "Installation" (#139)
Diffstat (limited to 'docs/Installation.md')
-rw-r--r--docs/Installation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Installation.md b/docs/Installation.md
index d12800a..5ee2fc8 100644
--- a/docs/Installation.md
+++ b/docs/Installation.md
@@ -54,10 +54,10 @@ At this point, you must be in your "build/" directory.
**Note2**: in case you use a non-default package for `clang`, you need to replace it accordingly. For example, if you installed `clang-6.0` then you have to replace `clang` with `clang-6.0` and `clang++` with `clang++-6.0`
```
-cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1
+cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1 -DWITH_WARNINGS=1 -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"
```
-Then, replacing `4` with the number of threads that you want to execute, type:
+Then, replacing `6` with the number of threads that you want to execute, type:
```
make -j 6