summaryrefslogtreecommitdiff
path: root/fc-cache/meson.build
blob: 5e40facf74da1075b58caf235f4a66e3770e78e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
fccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_alias_headers],
  include_directories: [incbase, incsrc],
  link_with: [libfontconfig],
  c_args: c_args,
  install: true,
)

tools_man_pages += ['fc-cache']

# Do not try to execute target's fc-cache on host when cross compiling
if get_option('cache-build').enabled() and not meson.is_cross_build()
  meson.add_install_script(fccache, '-s', '-f', '-v')
endif