From 0880955ae16caf27f24c5d6f1068ccace4b4dde9 Mon Sep 17 00:00:00 2001 From: Patrick Spendrin Date: Mon, 31 Dec 2007 11:24:59 +0000 Subject: clean up - add 128px icon and remove _name svn path=/trunk/KDE/kdelibs/; revision=755068 --- modules/KDE4Macros.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/KDE4Macros.cmake') 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}) -- cgit v1.2.1