From 291e401897500e9aef6cd871dea07298495a8792 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Mon, 6 Jan 2025 16:55:55 -0700 Subject: [PATCH] meson: Drop gtk option check --- meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meson.build b/meson.build index b104bb17cc..511802305f 100644 --- a/meson.build +++ b/meson.build @@ -1944,11 +1944,7 @@ have_gtk_clipboard = get_option('gtk_clipboard').enabled() # future, this may be relaxed in the future with alternative options. require_gtk = host_os == 'linux' -if require_gtk or get_option('gtk') \ - .disable_auto_if(not have_system) \ - .require(pixman.found(), - error_message: 'cannot enable GTK if pixman is not available') \ - .allowed() +if require_gtk gtk = dependency('gtk+-3.0', version: '>=3.22.0', method: 'pkg-config', required: require_gtk or get_option('gtk'))