centos7 build edit

weijh
2024-02-21 22:48:08 +08:00
parent 08f17a9efd
commit 9b151126cd

@ -172,14 +172,14 @@ The official Arch Repository contains the `raylib` package. Install via:
pacman -S raylib
```
### CentOS 7
### CentOS 7 building from source
```
yum -y install devtoolset-9\*
scl enable devtoolset-9 bash
cd raylib/src/
make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_11 -B
```
## The simplest possible build command
After installing raylib from source or package manager, you can build a project with this command (modify as necessary):
```