From cc95a6ecd84dedf9f61ed2d4d7d157db20b081b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Tabin?= Date: Sat, 19 Sep 2020 22:11:42 +0200 Subject: [PATCH] Increases minimum CMake version required --- .travis.yml | 7 +++++++ CMakeLists.txt | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f1a319f..a874390 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,13 @@ before_install: - eval "${MATRIX_EVAL}" install: + - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" + - mkdir ${DEPS_DIR} && cd ${DEPS_DIR} + - travis_retry wget --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-Linux-x86_64.tar.gz + - tar -xvf cmake-3.18.2-Linux-x86_64.tar.gz > /dev/null + - mv cmake-3.18.2-Linux-x86_64 cmake-install + - PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH + - cd ${TRAVIS_BUILD_DIR} - THIRD_PARTY=$HOME/third_party - THIRD_PARTY_PREFIX=$THIRD_PARTY/install - | diff --git a/CMakeLists.txt b/CMakeLists.txt index 6793ed2..468d057 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8.0) +cmake_minimum_required(VERSION 3.12.0) project(libzippp VERSION 3.0.0)