blob: 2a2ef311188689204c28dca773696503465d9f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
project('find fortran library', 'fortran')
fc = meson.get_compiler('fortran')
sources = ['main.f90', 'gzip.f90']
zlib = fc.find_library('z', required: false)
if not zlib.found()
error('MESON_SKIP_TEST: Z library not available.')
endif
exe = executable('zlibtest', sources, dependencies : zlib)
test('testzlib', exe)
|