From fdbca427fa50d3533540080efb0f38bf2237f8ee Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 21 Jul 2006 07:37:18 +0000 Subject: We have some mng icons (kopete has some mng icons which must be installed as png icons) svn path=/trunk/KDE/kdelibs/; revision=564747 --- modules/KDE4Macros.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 21ee0836..f7b5cf27 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -231,6 +231,18 @@ MACRO (KDE4_INSTALL_ICONS _defaultpath _theme ) ${_group} ${_current_ICON} ${_name}) ENDforeach (_current_ICON) + # mng icons + FILE(GLOB _icons *.mng) + foreach (_current_ICON ${_icons} ) + STRING(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.mng)$" "\\1" _size "${_current_ICON}") + STRING(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.mng)$" "\\2" _group "${_current_ICON}") + STRING(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.mng)$" "\\3" _name "${_current_ICON}") + _KDE4_ADD_ICON_INSTALL_RULE(${CMAKE_CURRENT_BINARY_DIR}/install_icons.cmake· + ${_defaultpath}/${_theme}/${_size}x${_size}· + ${_group} ${_current_ICON} ${_name}) + ENDforeach (_current_ICON) + + # and now the svg icons FILE(GLOB _icons *.svgz) foreach (_current_ICON ${_icons} ) -- cgit v1.2.1