~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to data/CMakeLists.txt

  • Committer: Charles Kerr
  • Date: 2013-06-21 00:02:55 UTC
  • mto: This revision was merged to the branch mainline in revision 399.
  • Revision ID: charles.kerr@canonical.com-20130621000255-6qwy5z0y13lwqbo9
add a post-install hook to update the icon cache after installation. Taken from geary/icons/CMakeLists.txt. (Thanks, Eric!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
         DESTINATION "${ICON_DIR}"
72
72
         FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
73
73
 
 
74
install(CODE "execute_process (COMMAND gtk-update-icon-cache -t -f ${ICON_DIR})"
 
75
        CODE "message (STATUS \"Updating icon cache\")")
 
76