aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-20 19:02:55 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-20 19:02:55 -0500
commit094ca7d7986027571672cfbcc955310afa6af336 (patch)
tree19efeb84224f60826a51aca1f3fc12d97f46addc /data/CMakeLists.txt
parent3d4daff706c39fb6ebdd29b950f3f0ea1402116d (diff)
downloadayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.tar.gz
ayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.tar.bz2
ayatana-indicator-session-094ca7d7986027571672cfbcc955310afa6af336.zip
add a post-install hook to update the icon cache after installation. Taken from geary/icons/CMakeLists.txt. (Thanks, Eric!)
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 91f79a5..6700163 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -71,3 +71,6 @@ install (DIRECTORY icons
DESTINATION "${ICON_DIR}"
FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
+install(CODE "execute_process (COMMAND gtk-update-icon-cache -t -f ${ICON_DIR})"
+ CODE "message (STATUS \"Updating icon cache\")")
+