Skip to content

Commit

Permalink
Set SWITCH variables as cache (ufs-community#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgerheiser authored Mar 18, 2022
1 parent 85d79e0 commit a11bdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ endif()
###############################################################################
if(WW3)
if(APP MATCHES "^(ATMW)$")
set(SWITCH "multi_esmf")
set(SWITCH "multi_esmf" CACHE STRING "ESMF cap")
set(UFS_CAP "MULTI_ESMF" CACHE STRING "Build with MULTI_ESMF cap")
list(APPEND _ufs_defs_private FRONT_WW3=WMESMFMD)
else()
set(SWITCH "meshcap")
set(SWITCH "meshcap" CACHE STRING "NUOPC mesh cap")
set(UFS_CAP "NUOPC_MESH" CACHE STRING "Build with NUOPC_MESH cap")
list(APPEND _ufs_defs_private FRONT_WW3=wav_comp_nuopc)
endif()
Expand Down

0 comments on commit a11bdc5

Please sign in to comment.