You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
459 B
Meson

zlib_dep = dependency('zlib', required: get_option('zlib'))
conf.set('ENABLE_ZLIB', zlib_dep.found())
if not zlib_dep.found()
subdir_done()
endif
zlib = static_library(
'zlib',
'GunzipReader.cxx',
'GzipOutputStream.cxx',
'AutoGunzipReader.cxx',
'AutoGunzipFileLineReader.cxx',
include_directories: inc,
dependencies: [
zlib_dep,
],
)
zlib_dep = declare_dependency(
link_with: zlib,
dependencies: [
zlib_dep,
io_dep,
],
)