tests/fortran/1: call compiler.get_id() == str instead of compiler == str

pull/5331/head
Dylan Baker 6 years ago
parent d3a1994031
commit 0dc88487dd
  1. 2
      test cases/fortran/1 basic/meson.build

@ -1,7 +1,7 @@
project('simple fortran', 'fortran')
fc = meson.get_compiler('fortran')
if fc == 'gcc'
if fc.get_id() == 'gcc'
add_global_arguments('-fbounds-check', language : 'fortran')
endif

Loading…
Cancel
Save