diff --git a/src/meson.build b/src/meson.build index d22f1da0..88e93540 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,6 +1,10 @@ +libev = dependency('libev', required: false) +if not libev.found() + libev = cc.find_library('ev') +endif base_deps = [ cc.find_library('m'), - cc.find_library('ev'), + libev, dependency('xcb', version: '>=1.9.2'), ]