1a4e54154Smrgfccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_alias_headers], 2a4e54154Smrg include_directories: [incbase, incsrc], 3a4e54154Smrg link_with: [libfontconfig], 4a4e54154Smrg c_args: c_args, 5a4e54154Smrg install: true, 6a4e54154Smrg) 7a4e54154Smrg 8a4e54154Smrgtools_man_pages += ['fc-cache'] 9a4e54154Smrg 10a4e54154Smrg# Do not try to execute target's fc-cache on host when cross compiling 11a4e54154Smrgif get_option('cache-build').enabled() and not meson.is_cross_build() 12eceda581Smrg meson.add_install_script(fccache, '-s', '-f', '-v', 13eceda581Smrg skip_if_destdir: true) 14a4e54154Smrgendif 15