From 6c33e5dc5018cad1f5f8b4520445ae4a7f32ad5b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 24 Oct 2022 12:32:31 +0200 Subject: [PATCH] build: add subproject fallback for Pixman Allows users to use a Meson subproject for Pixman. --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3b8adaeb..9dbc01a4 100644 --- a/meson.build +++ b/meson.build @@ -128,7 +128,10 @@ drm = dependency('libdrm', ], ) xkbcommon = dependency('xkbcommon') -pixman = dependency('pixman-1') +pixman = dependency('pixman-1', + fallback: 'pixman', + default_options: ['werror=false'], +) math = cc.find_library('m') rt = cc.find_library('rt')