diff options
Diffstat (limited to 'modules/KDE4Macros.cmake')
-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}) |