The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
450 B

project('FortranThreads')
if not add_languages('fortran', required: false)
error('MESON_SKIP_TEST: Fortran language not available.')
endif
# want to be sure that CMake can find dependencies where even if the
# project isn't C, the C language is required to find the library.
threads = dependency('threads', method: 'cmake', required: false)
if not threads.found()
error('MESON_SKIP_TEST: CMake backend not working for Fortran / threads')
endif