From ef4fd869ae634b546a882b1741303705fa216fc7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Apr 2021 17:48:28 +0100 Subject: [PATCH] Bump minimum CMake version to 3.8. This is the minimum version that supports CMAKE_CXX_STANDARD=17. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ade4d8eef..3f56ae9bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -# This usage of CMake requires at least version 2.4 (checks are made to determine what to use when certain versions lack functions) -cmake_minimum_required(VERSION 2.4 FATAL_ERROR) +# This usage of CMake requires at least version 3.8 +cmake_minimum_required(VERSION 3.8 FATAL_ERROR) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) if(POLICY CMP0026)