From 728db1df0e3a3ae04a443d9793426e725ed6f98a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 3 May 2020 16:39:10 +0200 Subject: [PATCH] meson: use find_program() to find 'tic' --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index f34a5e60..495653d0 100644 --- a/meson.build +++ b/meson.build @@ -148,11 +148,12 @@ executable( 'log.c', 'log.h', version, install: true) +tic = find_program('tic', native: true) custom_target( 'terminfo', output: 'f', input: 'foot.info', - command: ['tic', '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'], + command: [tic, '-x', '-o', '@OUTDIR@', '-e', 'foot,foot-direct', '@INPUT@'], install: true, install_dir: join_paths(get_option('datadir'), 'terminfo'))