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:
- `clang`
- `cmake`
- `libbacktrace`
- SDL3 (the build script can clone and install SDL when missing)
- `libsdl3`
Build commands:

View File

@@ -9,18 +9,18 @@ if [ -v addr ]; then echo "[address sanitizer build]"; fi
mkdir -p build
if [ ! -e "src/external/SDL" ]; then
cd src/external
git clone https://github.com/libsdl-org/SDL.git
cd SDL
git checkout release-3.2.30
# We need older version of SDL3 because there is a bug on wayland that
# 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
cd build_linux
sudo make -j16 install
cd ../../../..
fi
# if [ ! -e "src/external/SDL" ]; then
# cd src/external
# git clone https://github.com/libsdl-org/SDL.git
# cd SDL
# git checkout release-3.2.30
# # We need older version of SDL3 because there is a bug on wayland that
# # 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
# cd build_linux
# sudo make -j16 install
# cd ../../../..
# fi
cd build