|
@@ -1,9 +1,13 @@
|
1
|
1
|
#!/bin/bash
|
2
|
2
|
|
3
|
|
-sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev cmake libglm-dev
|
|
3
|
+sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev cmake
|
4
|
4
|
|
5
|
5
|
if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
|
6
|
6
|
if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
|
7
|
7
|
|
8
|
8
|
if [ "$CXX" = "clang++" ]; then sudo apt-get install --allow-unauthenticated clang-3.5; fi
|
9
|
9
|
|
|
10
|
+wget 'http://downloads.sourceforge.net/project/ogl-math/glm-0.9.6.3/glm-0.9.6.3.zip'
|
|
11
|
+unzip glm-0.9.6.3.zip
|
|
12
|
+sudo cp glm/glm /usr/local/include/glm
|
|
13
|
+
|