From 32e95bad5ce5b2423a84b45d5c6c8fc22031c2bc Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 16 Feb 2018 06:08:45 +0100 Subject: [PATCH] Change meson section to cmake, as meson support was removed --- Compile-for-GNU-Linux.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Compile-for-GNU-Linux.md b/Compile-for-GNU-Linux.md index 42fda0b..5de495e 100644 --- a/Compile-for-GNU-Linux.md +++ b/Compile-for-GNU-Linux.md @@ -77,20 +77,20 @@ To force recompile one example: The `raylib/games` folder can be made the same way as the examples. Have fun! -### Build raylib source code using meson +### Build raylib source code using cmake -Building with meson on Linux is easy. If you have all the dependencies installed just use the following: +Building with cmake on Linux is easy, just use the following: ``` git clone https://github.com/raysan5/raylib.git raylib cd raylib -meson builddir -cd builddir -ninja -ninja install +mkdir build && cd build +cmake -DSHARED=ON -DSTATIC=ON .. +make +make install ``` -In case any dependencies are missing, meson will tell you. +In case any dependencies are missing, cmake will tell you. **If you have any doubt, [just let me know][raysan5].**