diff --git a/doc/source/Installing.txt b/doc/source/Installing.txt index f2e32f622..eb51da0c4 100644 --- a/doc/source/Installing.txt +++ b/doc/source/Installing.txt @@ -82,7 +82,7 @@ autotools build. - @ref mach_walkthrough -To configure the build, PIO requires CMake version 2.8.12+. The typical +To configure the build, PIO requires CMake version 3.5.2+. The typical configuration with CMake can be done as follows: > CC=mpicc FC=mpif90 cmake [-DOPTION1=value1 -DOPTION2=value2 ...] /path/to/pio/source diff --git a/src/clib/CMakeLists.txt b/src/clib/CMakeLists.txt index 35e188149..f9cf53a2a 100644 --- a/src/clib/CMakeLists.txt +++ b/src/clib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.5.2) include (CheckFunctionExists) project (PIOC C) diff --git a/src/flib/CMakeLists.txt b/src/flib/CMakeLists.txt index 11b60e7db..64d03f960 100644 --- a/src/flib/CMakeLists.txt +++ b/src/flib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.5.2) project (PIOF Fortran) include (CheckFunctionExists) include (ExternalProject) diff --git a/src/gptl/CMakeLists.txt b/src/gptl/CMakeLists.txt index 7b5e977f6..98d441417 100644 --- a/src/gptl/CMakeLists.txt +++ b/src/gptl/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.5.2) project (GPTL C Fortran) include (CheckFunctionExists) include (FortranCInterface) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9a20eabb2..8c5878c58 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8.12) +cmake_minimum_required (VERSION 3.5.2) project (PIOTests C Fortran) #==============================================================================