Skip to content

Commit

Permalink
build: bump minimum cmake version to 3.8 to make sure cxx_std_11 ex…
Browse files Browse the repository at this point in the history
…ists.

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 fmtlib/fmt#3205
  • Loading branch information
OlivierLDff committed Dec 3, 2022
1 parent 033eedf commit 5bb1595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5bb1595

Please sign in to comment.