Skip to content

Commit

Permalink
Merge pull request NOAA-GFDL#34 from GEOS-ESM/feature/mathomp4/use-gf…
Browse files Browse the repository at this point in the history
…e-namespace

Use GFE Namespace
  • Loading branch information
mathomp4 authored Apr 9, 2021
2 parents 26c8839 + a0a13c3 commit bfecd22
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,17 @@ set (srcs
geos_utils/rs_scaleMod.F90
)


esma_add_library (${this}
SRCS ${srcs}
DEPENDENCIES MAPL gftl-shared
INCLUDES ${INC_ESMF})
if (ESMA_USE_GFE_NAMESPACE)
esma_add_library (${this}
SRCS ${srcs}
DEPENDENCIES MAPL GFTL_SHARED::gftl-shared
INCLUDES ${INC_ESMF})
else ()
esma_add_library (${this}
SRCS ${srcs}
DEPENDENCIES MAPL gftl-shared
INCLUDES ${INC_ESMF})
endif ()

if (FV_PRECISION STREQUAL R4)
elseif (FV_PRECISION STREQUAL R4R8) # FV is R4 but FMS is R8
Expand Down

0 comments on commit bfecd22

Please sign in to comment.