From c8ba2ee1711fc563632962eabfe8c77f24beb97d Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 11 Aug 2011 21:29:16 +0200 Subject: [PATCH] Revert "Use 512x512 icon on osx as lion has bigger icon previews" This reverts commit b7649a32817056b89ea2f2d97d8cf3a89c09645a. --- CMakeModules/AddAppIconMacro.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeModules/AddAppIconMacro.cmake b/CMakeModules/AddAppIconMacro.cmake index ea65edaa5..37ea17174 100644 --- a/CMakeModules/AddAppIconMacro.cmake +++ b/CMakeModules/AddAppIconMacro.cmake @@ -76,9 +76,9 @@ macro (KDE4_ADD_APP_ICON appsources pattern) file(GLOB_RECURSE files "${pattern}") # we can only test for the 128-icon like that - we don't use patterns anymore foreach (it ${files}) - if (it MATCHES ".*512.*" ) + if (it MATCHES ".*128.*" ) set (_icon ${it}) - endif (it MATCHES ".*512.*") + endif (it MATCHES ".*128.*") endforeach (it) if (_icon) @@ -101,8 +101,8 @@ macro (KDE4_ADD_APP_ICON appsources pattern) set_source_files_properties(${_outfilename}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) else(_icon) - # TODO - try to scale a non-512 icon...? Try to convert an SVG on the fly? - message(STATUS "Unable to find an 512x512 icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!") + # TODO - try to scale a non-128 icon...? Try to convert an SVG on the fly? + message(STATUS "Unable to find an 128x128 icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!") endif(_icon) else(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)