meson: PNG support has not been an optional feature since forever!
Not sure why this was set as optional in the meson build, as it was already mandatory in the autotools build back then (and for as long as I remember).
This commit is contained in:
parent
a982809c5f
commit
d4a951dc6b
2 changed files with 2 additions and 8 deletions
|
|
@ -654,13 +654,8 @@ else
|
|||
endif
|
||||
|
||||
libpng_minver = '1.6.25'
|
||||
libpng = dependency('libpng', version: '>='+libpng_minver,
|
||||
required: get_option('png')
|
||||
)
|
||||
if libpng.found()
|
||||
MIMEtypes += [ 'image/png', 'image/x-icon']
|
||||
endif
|
||||
|
||||
libpng = dependency('libpng', version: '>='+libpng_minver)
|
||||
MIMEtypes += [ 'image/png', 'image/x-icon']
|
||||
|
||||
libmng = cc.find_library('mng', required: get_option('mng'))
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ option('jpeg2000', type: 'feature', value: 'auto', description: 'Jpeg-2
|
|||
option('jpeg-xl', type: 'feature', value: 'auto', description: 'JPEG XL support')
|
||||
option('mng', type: 'feature', value: 'auto', description: 'Mng support')
|
||||
option('openexr', type: 'feature', value: 'auto', description: 'Openexr support')
|
||||
option('png', type: 'feature', value: 'auto', description: 'PNG support')
|
||||
option('print', type: 'boolean', value: true, description: 'Print support')
|
||||
option('webkit-unmaintained',type: 'boolean', value: false, description: 'Help browser and webpage plugins (unmaintained)')
|
||||
option('webp', type: 'feature', value: 'auto', description: 'Webp support')
|
||||
|
|
|
|||
Loading…
Reference in a new issue