diff --git a/README.md b/README.md index 5d3d1e4..f4d5187 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ To download and install COBS run: git clone --recursive https://github.com/bingmann/cobs.git mkdir cobs/build cd cobs/build -cmake .. +cmake -DCMAKE_BUILD_TYPE=Release .. make -j4 ``` and optionally run `make test` to check the build. @@ -58,7 +58,7 @@ and optionally run `make test` to check the build. If the above does not work and you are using `OS X`, install `gcc` and `g++` and try switching the `cmake` command to: ``` -cmake -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 .. +cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 .. ``` On `OS X`, `COBS` was tested with `cmake v3.22.3`, `make v3.81`, `gcc/g++-11 v11.2.0`.