Fixed compilation of Fortran samples with user-specified compiler
cherry-pick of r1635 from 2.0 maintenance branch
This commit is contained in:
parent
c77539e577
commit
9d9a22f16b
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue