third_party: raylib builds on macos (#34499)

* updated raylib setup for macos

* raylib setup.sh renamed to build.sh

* simplified copy

* silent curl
pull/34505/head
Andrei Radulescu 3 months ago committed by GitHub
parent 804b801ef8
commit d4a7a87a3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      third_party/raylib/build.sh

@ -37,10 +37,11 @@ git clean -xdff .
cd src
make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM
sudo make install RAYLIB_INSTALL_PATH=$INSTALL_DIR RAYLIB_H_INSTALL_PATH=$INSTALL_H_DIR
make -j$(nproc) PLATFORM=$RAYLIB_PLATFORM RAYLIB_RELEASE_PATH=$INSTALL_DIR
cp raylib.h raymath.h rlgl.h $INSTALL_H_DIR/
echo "raylib development files installed/updated in $INSTALL_H_DIR"
# this commit needs to be in line with raylib
set -x
RAYGUI_COMMIT="76b36b597edb70ffaf96f046076adc20d67e7827"
wget -O $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h
curl -fsSLo $INSTALL_H_DIR/raygui.h https://raw.githubusercontent.com/raysan5/raygui/$RAYGUI_COMMIT/src/raygui.h
Loading…
Cancel
Save