Blob Blame History Raw
From cfd87cb63316608e7f2a64f68eedcc09cc03d0da Mon Sep 17 00:00:00 2001
From: Michael Webster <miketwebster@gmail.com>
Date: Sat, 16 Jul 2022 13:56:13 -0400
Subject: [PATCH] Don't try to throw an error if libxdo can't be found - meson
 will already do this if required == true.

---
 meson.build | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meson.build b/meson.build
index 3ef0fd0..e139718 100644
--- a/meson.build
+++ b/meson.build
@@ -48,9 +48,6 @@ m = cc.find_library('m')
 xdo = dependency('libxdo', required: false)
 if not xdo.found()
   xdo = cc.find_library('xdo')
-    if not xdo.found()
-      error('could not find usable xdo library (libxdo')
-    endif
 endif
 
 dbus_services_dir = dependency('dbus-1').get_pkgconfig_variable('session_bus_services_dir', define_variable: ['datadir', datadir])