Skip to content

Commit

Permalink
Updates for Spack Support, Round 2
Browse files Browse the repository at this point in the history
Due to insufficient grepping on my part, some remnants of the
"non-canonical" CMake still remain. Apparently these were not necessary
changes for Spack, but they are changes that unify the CMake style of
GEOS to be more like "correct" CMake.

In this go-around, it is mainly finding `INC_ESMF` which I apparently
forgot to grep for last time (I was focused on NetCDF), and some
non-canonical OpenMP calls.

See GEOS-ESM/GEOSgcm#387 for the meta-issue.
  • Loading branch information
mathomp4 committed Mar 21, 2022
1 parent 525126f commit 2f34da9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ set (srcs
TR_GridCompMod.F90
)

esma_add_library (${this}
SRCS ${srcs}
DEPENDENCIES MAPL GMAO_mpeu Chem_Shared GEOS_Shared
INCLUDES ${INC_ESMF})
esma_add_library (${this}
SRCS ${srcs}
DEPENDENCIES MAPL GMAO_mpeu Chem_Shared GEOS_Shared esmf)

#esma_generate_gocart_code (${this} -F)

Expand Down

0 comments on commit 2f34da9

Please sign in to comment.