Fixed raylib build options
This commit is contained in:
@@ -7,8 +7,7 @@ See https://toylang.com/ for details.
|
||||
## Raylib for RPi
|
||||
|
||||
```bash
|
||||
#why does raylib fall back to SDL?
|
||||
cmake -B build -DPLATFORM=SDL -DOPENGL_VERSION=Software
|
||||
cmake -B build -DCMAKE_BUILD_TYPE="Release" -DPLATFORM="Desktop" -DOPENGL_VERSION="2.1"
|
||||
cmake --build build
|
||||
cd build && sudo make install
|
||||
```
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#compiler settings
|
||||
CC=gcc
|
||||
CFLAGS+=-std=c17 -g -Wall -Werror -Wextra -Wpedantic -Wformat=2 -Wno-newline-eof
|
||||
LIBS+=-lToy -lraylib -lSDL2 -lm
|
||||
LIBS+=-lToy -lraylib -lX11 -lm
|
||||
LDFLAGS+=-Wl,-rpath,'$$ORIGIN'
|
||||
|
||||
ifeq ($(shell uname),Darwin) #make sure there's enough space for the dylib fix
|
||||
|
||||
Reference in New Issue
Block a user