Skip to content

Commit

Permalink
Add c precessor for cesmcoupled
Browse files Browse the repository at this point in the history
  • Loading branch information
minghangli-uni committed Dec 11, 2024
1 parent 27129b5 commit bea9146
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ endif()
add_compile_definitions(
_USE_GENERIC_TRACER
_USE_MOM6_DIAG
#CESMCOUPLED
)

# Conditionally define CESMCOUPLED
if (CESMCOUPLED)
add_compile_definitions(
CESMCOUPLED
)
endif()

## Fortran modules path; currently this is simply set to be the include dir
set(CMAKE_INSTALL_MODULEDIR ${CMAKE_INSTALL_INCLUDEDIR}
CACHE STRING
Expand Down

0 comments on commit bea9146

Please sign in to comment.