diff --git a/SConstruct b/SConstruct index 71e942602..d39b561cc 100644 --- a/SConstruct +++ b/SConstruct @@ -600,6 +600,7 @@ if env['f90_interface'] in ('y','default'): if foundF90: env['f90_interface'] = 'y' + env['FORTRAN'] = env['F90'] elif env['f90_interface'] == 'y': print "ERROR: Couldn't find a suitable Fortran compiler to build the Fortran 90 interface" sys.exit(1)