Skip to content

Commit

Permalink
Fixes geoschem#120. Added LUO_WETDEP preprocessor definition if -DLUO…
Browse files Browse the repository at this point in the history
…_WETDEP=ON.
  • Loading branch information
LiamBindle authored and lizziel committed Jul 27, 2021
1 parent 72132a5 commit b5bb81e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/GCHP_GridComp/GEOSChem_GridComp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ target_compile_options(GEOSChemBuildProperties
>
)

#---------------------------------------------------------------------
# Assign preprocessor definitions
#---------------------------------------------------------------------
target_compile_definitions(GEOSChemBuildProperties
INTERFACE
$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Intel>:LINUX_IFORT>
$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},GNU>:LINUX_GFORTRAN>
$<$<BOOL:${LUO_WETDEP}>:LUO_WETDEP>
)

# Print the options that are turned on in GEOS-Chem
Expand Down

0 comments on commit b5bb81e

Please sign in to comment.