diff --git a/Building-OpenRCT2-on-Linux.md b/Building-OpenRCT2-on-Linux.md index 7e36159..c858443 100644 --- a/Building-OpenRCT2-on-Linux.md +++ b/Building-OpenRCT2-on-Linux.md @@ -110,7 +110,7 @@ You can copy more of required data to possibly improve your experience. ``` mkdir build && cd build -cmake .. +cmake .. # remember to set your build flags, e.g. -DCMAKE_BUILD_TYPE=RelWithDebInfo make ``` @@ -139,11 +139,6 @@ Just symlink the `data` directory in the current `build` directory ln -s ../data data ``` -Keep in mind this will produce unoptimised build, unless you specify proper `CMAKE_BUILD_TYPE`, e.g. -``` -cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO .. -``` - ### Clang Building with clang works the same way as building with GCC, you just need to change the CC and CXX environment variables. Keep in mind, that you need to have an empty build directory as cmake will not switch compilers after it has already generated a Makefile.