Skip to content

Commit

Permalink
Merge pull request #44 from GEOS-ESM/feature/mathomp4/update-esmf-target
Browse files Browse the repository at this point in the history
Update ESMF CMake target to ESMF::ESMF
  • Loading branch information
mathomp4 authored Aug 21, 2024
2 parents 7b3004f + 158509e commit e447eda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ set (alldirs
esma_add_library (${this}
SRCS GEOS_RadiationGridComp.F90
SUBCOMPONENTS ${alldirs}
DEPENDENCIES MAPL GEOS_Shared esmf)
DEPENDENCIES MAPL GEOS_Shared ESMF::ESMF)

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ foreach (file ${k_g_srcs})
endforeach ()

esma_add_library (${this} SRCS ${srcs} ${k_g_srcs}
DEPENDENCIES GEOS_Shared MAPL RRTMG_SW_mods GEOS_RadiationShared esmf NetCDF::NetCDF_Fortran)
DEPENDENCIES GEOS_Shared MAPL RRTMG_SW_mods GEOS_RadiationShared ESMF::ESMF NetCDF::NetCDF_Fortran)

if(ENABLE_SOLAR_RADVAL)
target_compile_definitions(${this} PRIVATE SOLAR_RADVAL)
Expand Down

0 comments on commit e447eda

Please sign in to comment.