Skip to content

Commit

Permalink
Merge pull request #591 from E3SM-Project/dqwu/update_cmake_min_ver
Browse files Browse the repository at this point in the history
The root CMakeLists.txt in SCORPIO already requires version 3.7
or higher. This update aligns the CMakeLists.txt files in other
subdirectories with this requirement.

Fixes #590

See also #443
  • Loading branch information
dqwu authored Jun 14, 2024
2 parents c7f17f6 + e652966 commit a78cc96
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/source/Installing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ HDF5, itself, introduces dependencies on LIBZ and (optionally) SZIP.

### Configuring with CMake ###

To configure the build, SCORPIO requires CMake version 2.8.12+. The typical
To configure the build, SCORPIO requires CMake version 3.7+. The typical
configuration with CMake can be done as follows:


Expand Down
2 changes: 1 addition & 1 deletion src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.7)
include (CheckFunctionExists)
include(CheckTypeSize)
include(SPIOTypeUtils)
Expand Down
2 changes: 1 addition & 1 deletion src/flib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.7)
project (PIOF Fortran)
include (CheckFunctionExists)
include (ExternalProject)
Expand Down
2 changes: 1 addition & 1 deletion src/flib_legacy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.7)
project (PIOF Fortran)
include (CheckFunctionExists)
include (ExternalProject)
Expand Down
2 changes: 1 addition & 1 deletion src/gptl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.7)
project (GPTL C Fortran)
include (CheckFunctionExists)
include(CheckSymbolExists)
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 3.7)
project (PIOTests C Fortran)

#==============================================================================
Expand Down

0 comments on commit a78cc96

Please sign in to comment.