cmake test: skip case where Cmake backend not Fortran-compatible

pull/6321/head
Michael Hirsch, Ph.D 5 years ago committed by Michael Hirsch, Ph.D
parent 98fd4e5557
commit 6eb67ee848
  1. 5
      test cases/cmake/14 fortran threads/meson.build

@ -6,4 +6,7 @@ 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: true)
threads = dependency('threads', method: 'cmake', required: false)
if not threads.found()
error('MESON_SKIP_TEST: CMake backend not working for Fortran / threads')
endif

Loading…
Cancel
Save