build: add subproject fallback for Pixman

Allows users to use a Meson subproject for Pixman.
Simon Ser 2 years ago committed by Simon Zeni
parent 1928d1ce9f
commit 6c33e5dc50

@ -128,7 +128,10 @@ drm = dependency('libdrm',
], ],
) )
xkbcommon = dependency('xkbcommon') xkbcommon = dependency('xkbcommon')
pixman = dependency('pixman-1') pixman = dependency('pixman-1',
fallback: 'pixman',
default_options: ['werror=false'],
)
math = cc.find_library('m') math = cc.find_library('m')
rt = cc.find_library('rt') rt = cc.find_library('rt')

Loading…
Cancel
Save