From 8b52c5c2b242638829cc155842f514396149bce0 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 30 Aug 2018 18:33:07 +0200 Subject: [PATCH] Reduced cmake dependency to 3.6, fixed drone file --- .drone.yml | 8 ++++++-- CMakeLists.txt | 2 +- README.md | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9e89db8..51eb364 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,10 +24,12 @@ pipeline: pull: true commands: - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list + - echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - apt-get update -q + - apt-get install -qy -t stretch libvsqlitepp-dev libboost-all-dev - apt-get install -qy -t jessie-backports cmake - - apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev + - apt-get install -qy libxdg-basedir-dev - rm -rf build && mkdir -p build && cd build - cmake .. - make VERBOSE=1 @@ -37,10 +39,12 @@ pipeline: pull: true commands: - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list + - echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list.d/stretch.list - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - apt-get update -q + - apt-get install -qy -t stretch libvsqlitepp-dev libboost-all-dev - apt-get install -qy -t jessie-backports cmake - - apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev + - apt-get install -qy libxdg-basedir-dev - rm -rf build && mkdir -p build && cd build - cmake .. - make VERBOSE=1 diff --git a/CMakeLists.txt b/CMakeLists.txt index 94b18d5..08bc620 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.7) +cmake_minimum_required (VERSION 3.6) project (whyblocked VERSION 0.6.0 LANGUAGES CXX diff --git a/README.md b/README.md index 68f7f82..0c88e99 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ User or instance: @tastytea@soc.ialis.me ### Dependencies * C++ compiler (tested: gcc 6/7/8) -* [cmake](https://cmake.org/) (at least 3.7) +* [cmake](https://cmake.org/) (at least 3.6) * [vsqlite++](http://vsqlite.virtuosic-bytes.com/) (tested: 0.3.13) * [libxdg-basedir](http://repo.or.cz/w/libxdg-basedir.git) (tested: 1.2)