summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-06-03 11:36:37 +0200
committerGitHub <noreply@github.com>2020-06-03 11:36:37 +0200
commitdfa6556674815fba0452a71b627020f1e5e44d7b (patch)
tree012583db34060daa0a6b724a3e11221f9d36d5ea
parentdea9c857602fb9c359781a9079fe136852c454d7 (diff)
downloadwiki-dfa6556674815fba0452a71b627020f1e5e44d7b.tar.gz
wiki-dfa6556674815fba0452a71b627020f1e5e44d7b.tar.bz2
wiki-dfa6556674815fba0452a71b627020f1e5e44d7b.zip
fix: installation cmake command (#237)
-rw-r--r--docs/Installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Installation.md b/docs/Installation.md
index b1663e3..20fef81 100644
--- a/docs/Installation.md
+++ b/docs/Installation.md
@@ -70,7 +70,7 @@ 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 -DWITH_WARNINGS=1 -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"
+cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1"
```
Then, replacing `6` with the number of threads that you want to execute, type: