From df7c7b9f6b12a80f3a1de01c35e77ef2f919d28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 26 May 2023 15:48:39 +0200 Subject: [PATCH] Fix build without tools --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 7de6be2..9d1ceca 100644 --- a/meson.build +++ b/meson.build @@ -140,13 +140,14 @@ tiff_tables = custom_target('tiff-tables.h', desktops = ['fiv.desktop', 'fiv-browse.desktop'] exe = executable('fiv', 'fiv.c', 'fiv-view.c', 'fiv-io.c', 'fiv-context-menu.c', 'fiv-browser.c', 'fiv-sidebar.c', 'fiv-thumbnail.c', 'fiv-collection.c', - 'xdg.c', gresources, rc, config, + 'xdg.c', tiff_tables, gresources, rc, config, install : true, dependencies : dependencies, win_subsystem : 'windows', ) if gdkpixbuf.found() - executable('io-benchmark', 'fiv-io-benchmark.c', 'fiv-io.c', 'xdg.c', + executable('io-benchmark', 'fiv-io-benchmark.c', 'fiv-io.c', + 'xdg.c', tiff_tables, build_by_default : false, dependencies : [dependencies, gdkpixbuf]) endif