The new cmake system special-cases for oneAPI here for setting C compiler flags; we should probably add a similar logic for setting the MOM5 fortran flags.
Here is an example of how that is done within FMS.
Note: The logic for IntelLLVM might need to precede that for Intel.