meson: Fix build when 'tools' option is disabled
diff --git a/fc-cache/meson.build b/fc-cache/meson.build
index 9e0fe72..8963ac5 100644
--- a/fc-cache/meson.build
+++ b/fc-cache/meson.build
@@ -6,3 +6,4 @@
 )
 
 tools_man_pages += ['fc-cache']
+meson.add_install_script('../install-cache.py', fccache.full_path())
diff --git a/meson.build b/meson.build
index 273d976..b534d93 100644
--- a/meson.build
+++ b/meson.build
@@ -367,8 +367,6 @@
 
 install_headers(fc_headers, subdir: meson.project_name())
 
-meson.add_install_script('install-cache.py', fccache.full_path())
-
 # Summary
 if meson.version() >= '0.53'
   doc_targets = get_variable('doc_targets', [])