diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 626e8978c..c510668e1 100644 --- a/meson.build +++ b/meson.build @@ -381,10 +381,8 @@ subdir('gdk-pixbuf') gdkpixbuf_xlib_inc = [] if get_option('x11') - x11_dep = cc.find_library('X11', required: false) - if x11_dep.found() - subdir('contrib/gdk-pixbuf-xlib') - endif + x11_dep = dependency('x11') + subdir('contrib/gdk-pixbuf-xlib') endif # i18n |