From 05b6e7ddf2bfee1dbb2dd3299641b3ef0ac7008e Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Tue, 12 Nov 2024 14:17:27 -0800 Subject: [PATCH] Update minimum CMake version to 3.6 We can't really claim to work with cmake 2.8 any more, since we no longer have machines that use such an old version, so update to match the oldest version we use. --- CMakeLists.txt | 2 +- doc/manual/installation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf8ae14883..c9cf3bb394 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12...3.6.0) +cmake_minimum_required(VERSION 3.6.0) project(IMP) diff --git a/doc/manual/installation.md b/doc/manual/installation.md index 0834c4cd6d..64a1942d66 100644 --- a/doc/manual/installation.md +++ b/doc/manual/installation.md @@ -36,7 +36,7 @@ In order to build %IMP from source, you will need: - A C++ compiler that supports the C++11 standard, such as gcc, clang, or Microsoft Visual Studio 2017 or later. -- [CMake](https://cmake.org) (2.8.12 or later; 3.14 or later is recommended) +- [CMake](https://cmake.org) (3.6 or later; 3.14 or later is recommended) - [Boost](https://www.boost.org) (1.53 or later; Boost.Iostreams must be built with its [zlib filter enabled](https://www.boost.org/doc/libs/1_67_0/libs/iostreams/doc/installation.html)) - [Eigen](https://eigen.tuxfamily.org/) (3.0 or later)