setting fortran language standard


GFortran supports passing the Fortran standard via -std=[f95|f2003|f2008|...]

Is there a correct way to do this in CMake? It appears that Fortran isn’t supported as a language in:<LANG>_STANDARD

Thank you.

Yes, support for Fortran standard levels would need to be added. It hasn’t been requested yet, so it’s not surprising. Please file a feature request for this.

1 Like

Thank you. The request is here: