From 039e4141aaea816023d71f8eaaee1d3f0ecf6a27 Mon Sep 17 00:00:00 2001 From: Olivier Le Doeuff Date: Sat, 3 Dec 2022 09:04:36 +0100 Subject: [PATCH] build: bump minimum cmake version to 3.8 to make sure `cxx_std_11` exists. I increase the minimum CMake version to 3.8 because that's when the cxx_std_11 compile feature was added. Realistically this requirement could be increased to at least 3.10 since 3.10 is what Ubuntu 18 ships with and it's unlikely that any users are locked to an older CMake version than that. Text copied from https://github.com/fmtlib/fmt/pull/3205 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09a685fd..1762805f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ #]===================================================================] -cmake_minimum_required( VERSION 3.7 ) +cmake_minimum_required( VERSION 3.8 ) project( date VERSION 3.0.1 ) set(ABI_VERSION 3) # used as SOVERSION, increment when ABI changes