meson.build: fix the io-benchmark target

This commit is contained in:
Přemysl Eric Janouch 2021-11-08 17:25:38 +01:00
parent 7d640651cb
commit 155f57db20
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -28,7 +28,7 @@ executable('fastiv', 'fastiv.c', 'fastiv-view.c', 'fastiv-io.c',
# TODO(p): See fastiv_io_open(), consider optionally integrating this.
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required : false)
if gdk_pixbuf.found()
executable('io-benchmark', 'fastiv-io-benchmark.c', 'fastiv-io.c',
executable('io-benchmark', 'fastiv-io-benchmark.c', 'fastiv-io.c', 'xdg.c',
build_by_default : false,
dependencies : [dependencies, gdk_pixbuf])
endif