Imported Upstream version 2.14.2
[platform/upstream/fontconfig.git] / fc-cache / meson.build
1 fccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_alias_headers],
2   include_directories: [incbase, incsrc],
3   link_with: [libfontconfig],
4   c_args: c_args,
5   install: true,
6 )
7
8 tools_man_pages += ['fc-cache']
9
10 # Do not try to execute target's fc-cache on host when cross compiling
11 if get_option('cache-build').enabled() and not meson.is_cross_build()
12   meson.add_install_script(fccache, '-s', '-f', '-v',
13     skip_if_destdir: true)
14 endif