~ci-train-bot/indicator-session/indicator-session-ubuntu-artful-2982

« back to all changes in this revision

Viewing changes to data/CMakeLists.txt

  • Committer: Sebastien Bacher
  • Author(s): Jeremy Bicha
  • Date: 2017-08-30 08:37:45 UTC
  • mfrom: (471.3.1 indicator-session)
  • Revision ID: seb128@ubuntu.com-20170830083745-3prmzrfgeo93expd
Fix icon installation. (LP: #1600502)

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
install (FILES "${UNITY_INDICATOR_FILE}"
83
83
         DESTINATION "${UNITY_INDICATOR_DIR}")
84
84
 
85
 
 
86
 
##
87
 
##  Icons
88
 
##
89
 
 
90
 
# where to install
91
 
set (ICON_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/icons/hicolor")
92
 
message (STATUS "${ICON_DIR} is the Icon install dir")
93
 
 
94
 
install (DIRECTORY icons
95
 
         icons/16x16
96
 
         icons/22x22
97
 
         icons/24x24
98
 
         icons/32x32
99
 
         icons/scalable
100
 
         DESTINATION "${ICON_DIR}"
101
 
         FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
102
 
 
103
 
install(CODE "execute_process (COMMAND gtk-update-icon-cache -t -f ${ICON_DIR})"
104
 
        CODE "message (STATUS \"Updating icon cache\")")
105
 
 
 
85
add_subdirectory (icons)