Files
astaroth/3rdparty/setup_dependencies.sh
2019-06-14 14:19:07 +03:00

18 lines
289 B
Bash
Executable File

#!/bin/bash
INITIAL_DIR=$(pwd)
# Fetch SDL2
git clone https://github.com/davidsiaw/SDL2.git
cd SDL2
git pull
mkdir build
cd build && cmake .. && make -j
# See https://github.com/davidsiaw/SDL2/blob/master/docs/README-linux.md
# if there are isses with building
# Done
cd $INITIAL_DIR