Turn off SDL3 compilation
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
24
build.sh
24
build.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user