From 5fae1ae0693898d6ff69f07ee94a9058e5012d71 Mon Sep 17 00:00:00 2001 From: Daniel Rosen Date: Wed, 16 Apr 2025 10:44:54 -0600 Subject: [PATCH] Bump CMake required version to 3.5.2 --- doc/source/Installing.txt | 2 +- src/clib/CMakeLists.txt | 2 +- src/flib/CMakeLists.txt | 2 +- src/gptl/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/Installing.txt b/doc/source/Installing.txt index f2e32f622b..eb51da0c42 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 35e188149a..f9cf53a2aa 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 11b60e7db1..64d03f960b 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 7b5e977f63..98d441417c 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 9a20eabb24..8c5878c580 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) #==============================================================================