Skip to content

Commit

Permalink
Bump ESMF required version to 8.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Aug 15, 2023
1 parent 1a7b5e3 commit 40b4284
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/addon/ESMX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.22)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/Driver/cmake")

# Find ESMF
find_package(ESMF 8.5.0 MODULE REQUIRED)
find_package(ESMF 8.6.0 MODULE REQUIRED)

# Set compilers consistent with ESMF
set(CMAKE_Fortran_COMPILER "${ESMF_F90COMPILER}")
Expand Down
2 changes: 1 addition & 1 deletion src/addon/ESMX/Comps/ESMX_Data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.22)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(ESMF 8.5.0 MODULE REQUIRED)
find_package(ESMF 8.6.0 MODULE REQUIRED)

if(NOT DEFINED CMAKE_Fortran_COMPILER)
set(CMAKE_Fortran_COMPILER "${ESMF_F90COMPILER}")
Expand Down
2 changes: 1 addition & 1 deletion src/addon/ESMX/Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22)
# load packages and modules
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
find_package(Python 3.5 REQUIRED COMPONENTS Interpreter)
find_package(ESMF 8.5.0 MODULE REQUIRED)
find_package(ESMF 8.6.0 MODULE REQUIRED)
include(FetchContent)

# esmx functions
Expand Down

0 comments on commit 40b4284

Please sign in to comment.