#!/bin/bash
# Copyright (c) 2014-2016 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT

set -ev

# Fetch and build updated version of CMake from source.
wget https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar -xzvf cmake-3.4.1.tar.gz
cd cmake-3.4.1
./bootstrap
make
make install
#!/bin/bash
# Copyright (c) 2014-2016 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT

set -ev

# Fetch and build updated version of CMake from source.
wget https://cmake.org/files/v3.4/cmake-3.4.1.tar.gz --no-check-certificate
tar -xzvf cmake-3.4.1.tar.gz
cd cmake-3.4.1
./bootstrap
make
make install
Add --no-check-certificate option for CMake download in Travis setup.
Add --no-check-certificate option for CMake download in Travis setup.
