aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-03 14:39:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-03 14:39:10 +0000
commit728db1df0e3a3ae04a443d9793426e725ed6f98a (patch)
treec2521441a8e05f746d859e64e1046c0a5b0b8018
parentterm: thrd_success isn't necessarily 0 (diff)
meson: use find_program() to find 'tic'
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
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'))