diff options
author | Patrick Spendrin <ps_ml@gmx.de> | 2007-12-31 11:24:59 +0000 |
---|---|---|
committer | Patrick Spendrin <ps_ml@gmx.de> | 2007-12-31 11:24:59 +0000 |
commit | 0880955ae16caf27f24c5d6f1068ccace4b4dde9 (patch) | |
tree | 61df9b8678a3233d1749b224e007003073400701 /modules | |
parent | 6fca13ac3b19926beb6e4242d9e001a8eb82a749 (diff) | |
download | extra-cmake-modules-0880955ae16caf27f24c5d6f1068ccace4b4dde9.tar.gz extra-cmake-modules-0880955ae16caf27f24c5d6f1068ccace4b4dde9.tar.bz2 |
clean up - add 128px icon and remove _name
svn path=/trunk/KDE/kdelibs/; revision=755068
Diffstat (limited to 'modules')
-rw-r--r-- | modules/KDE4Macros.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 09005f64..cadcb2b9 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -1002,7 +1002,6 @@ macro (KDE4_ADD_APP_ICON appsources pattern) if (PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE) file(GLOB_RECURSE files "${pattern}") FOREACH (it ${files}) - GET_FILENAME_COMPONENT(_name ${it} NAME_WE) if (it MATCHES ".*16.*" ) list (APPEND _icons ${it}) endif (it MATCHES ".*16.*") @@ -1015,6 +1014,9 @@ macro (KDE4_ADD_APP_ICON appsources pattern) if (it MATCHES ".*64.*" ) list (APPEND _icons ${it}) endif (it MATCHES ".*64.*") + if (it MATCHES ".*128.*" ) + list (APPEND _icons ${it}) + endif (it MATCHES ".*128.*") ENDFOREACH (it) if (_icons) set (_outfilename ${CMAKE_CURRENT_BINARY_DIR}/${target}) |