Add PPA for newer cmake

This commit is contained in:
Dmitry Marakasov 2015-05-14 18:07:07 +03:00
parent 31fd50fe61
commit b9a8fef052

View File

@ -9,7 +9,9 @@ before_install:
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:libreoffice/libreoffice-4-2
- sudo add-apt-repository --yes ppa:smspillaz/cmake-master
- sudo apt-get update -qq
- sudo apt-get -y purge cmake
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev g++-4.8 cppcheck doxygen
- sudo sed -i -e 's|friend class hash|friend struct hash|' /usr/include/c++/4.8/bits/stl_bvector.h
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi