From 46997f7337803637f52a246c07de90500b3ef1d2 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 5 Nov 2025 16:31:50 +0100 Subject: meson: Replace backend boolean options with features This allows enabling the backend automatically depending on whether the dependencies are satisfied or not, like Autotool's counterpart. By default, the PDF backend is force-enabled and the Pixbuf backend is disabled, as with Autotools. --- libview/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libview') diff --git a/libview/meson.build b/libview/meson.build index 0075c154..0f56f9c4 100644 --- a/libview/meson.build +++ b/libview/meson.build @@ -80,7 +80,7 @@ libview_deps = [ math, ] -if get_option('epub') +if not get_option('epub').disabled() libview_deps += webkit endif -- cgit v1.2.1