ecbuild_enable_fortran

Enable the Fortran language.

ecbuild_enable_fortran( [ MODULE_DIRECTORY <directory> ] [ REQUIRED ] )

Options

MODULE_DIRECTORY : optional, defaults to ${PROJECT_BINARY_DIR}/module
set the CMAKE_Fortran_MODULE_DIRECTORY
NO_MODULE_DIRECTORY : optional
unset CMAKE_Fortran_MODULE_DIRECTORY
REQUIRED : optional
fail if no working Fortran compiler was detected