Fixed setup.sh for mac

This commit is contained in:
mathusummut
2019-02-03 14:04:11 +01:00
parent a31cc2468c
commit 8ad98398ad
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
brew install sdl2 lua fontconfig freetype ftgl libogg glew libvorbis cppunit glib fribidi miniupnpc wxmac
brew outdated cmake || brew upgrade cmake; brew outdated pkgconfig || brew upgrade pkgconfig
brew install Caskroom/cask/xquartz

View File

@@ -1,2 +1,10 @@
#!/bin/bash
echo
echo "Initializing Glest setup..."
currentDir=$PWD
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
./build-deps.sh
./build.sh
echo
./build.sh
cd $currentDir