build-sys: make pixman actually optional

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Marc-André Lureau 2023-09-04 17:29:41 +04:00
parent 699f15fd0c
commit d017f28a2e

View File

@ -817,9 +817,6 @@ if not get_option('pixman').auto() or have_system or have_tools
pixman = dependency('pixman-1', required: get_option('pixman'), version:'>=0.21.8',
method: 'pkg-config')
endif
if not pixman.found() and (have_system or have_tools)
error('FIXME: pixman is currently required')
endif
zlib = dependency('zlib', required: true)