Project

General

Profile

Feature #32 » 0018-Meson-Search-mwand-by-MagickWand-6.Q16HDRI.pc.patch

S3_1 - Marko Lindqvist, 12/06/2023 03:54 AM

View differences:

meson.build
pub_conf_data.set('FREECIV_MWAND7', '1')
else
mw_dep = dependency('MagickWand', version : '>= 6.0', required : false)
if not mw_dep.found()
mw_dep = dependency('MagickWand-6.Q16HDRI', required: false)
endif
if mw_dep.found()
priv_conf_data.set('HAVE_MAPIMG_MAGICKWAND', '1')
endif
endif
if mw_dep.found()
priv_conf_data.set('HAVE_MAPIMG_MAGICKWAND', '1')
elif mw_req == 'true'
if mw_req == 'true' and not mw_dep.found()
error('MagickWand support requested but not found.')
endif
else
(2-2/2)