Skip to content

Commit a78cc96

Browse files
authored
Merge pull request #591 from E3SM-Project/dqwu/update_cmake_min_ver
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
2 parents c7f17f6 + e652966 commit a78cc96

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

doc/source/Installing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ HDF5, itself, introduces dependencies on LIBZ and (optionally) SZIP.
2828

2929
### Configuring with CMake ###
3030

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

3434

src/clib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.8.12)
1+
cmake_minimum_required (VERSION 3.7)
22
include (CheckFunctionExists)
33
include(CheckTypeSize)
44
include(SPIOTypeUtils)

src/flib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.8.12)
1+
cmake_minimum_required (VERSION 3.7)
22
project (PIOF Fortran)
33
include (CheckFunctionExists)
44
include (ExternalProject)

src/flib_legacy/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.8.12)
1+
cmake_minimum_required (VERSION 3.7)
22
project (PIOF Fortran)
33
include (CheckFunctionExists)
44
include (ExternalProject)

src/gptl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.8.12)
1+
cmake_minimum_required (VERSION 3.7)
22
project (GPTL C Fortran)
33
include (CheckFunctionExists)
44
include(CheckSymbolExists)

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.8.12)
1+
cmake_minimum_required (VERSION 3.7)
22
project (PIOTests C Fortran)
33

44
#==============================================================================

0 commit comments

Comments
 (0)