Turn off SDL3 compilation

This commit is contained in:
KK
2026-06-30 10:25:15 +02:00
parent 20d71722ea
commit 43a79535e8
2 changed files with 13 additions and 14 deletions

View File

@@ -39,9 +39,8 @@ The codebase includes its own:
Requirements: Requirements:
- `clang` - `clang`
- `cmake`
- `libbacktrace` - `libbacktrace`
- SDL3 (the build script can clone and install SDL when missing) - `libsdl3`
Build commands: Build commands:

View File

@@ -9,18 +9,18 @@ if [ -v addr ]; then echo "[address sanitizer build]"; fi
mkdir -p build mkdir -p build
if [ ! -e "src/external/SDL" ]; then # if [ ! -e "src/external/SDL" ]; then
cd src/external # cd src/external
git clone https://github.com/libsdl-org/SDL.git # git clone https://github.com/libsdl-org/SDL.git
cd SDL # cd SDL
git checkout release-3.2.30 # git checkout release-3.2.30
# We need older version of SDL3 because there is a bug on wayland that # # We need older version of SDL3 because there is a bug on wayland that
# doubles click events and it's kind of unusable # # doubles click events and it's kind of unusable
cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr # cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cd build_linux # cd build_linux
sudo make -j16 install # sudo make -j16 install
cd ../../../.. # cd ../../../..
fi # fi
cd build cd build