Skip to content

Commit

Permalink
Merge pull request #15 from GEOS-ESM/feature/sanAkel/add-MOM6
Browse files Browse the repository at this point in the history
To build MOM5 as a shared library, just like MOM6. This allows the us…
  • Loading branch information
mathomp4 authored Jul 9, 2020
2 parents 648fc58 + 1aa3425 commit 0d4bd9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ esma_add_library (${this}
INCLUDES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/mom5/ocean_param/gotm-4.0/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/mom5/ocean_core>
TYPE SHARED
)

target_compile_definitions (${this} PRIVATE MAPL_MODE EIGHT_BYTE SPMD TIMING use_libMPI use_netCDF USE_OCEAN_BGC)
Expand Down

0 comments on commit 0d4bd9c

Please sign in to comment.