aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorSjors Gielen <dazjorz@dazjorz.com>2010-07-06 13:17:04 +0000
committerSjors Gielen <dazjorz@dazjorz.com>2010-07-06 13:17:04 +0000
commit3f5eb85b639506904ae8a3ee2eaa20518ee55578 (patch)
tree34a171c48f818095c325bc2a5c72a86e07fa91cf /modules/FindKDE4Internal.cmake
parent41d23fc4e6ce5eefdae075804fe27c7c0bf2bb0d (diff)
downloadextra-cmake-modules-3f5eb85b639506904ae8a3ee2eaa20518ee55578.tar.gz
extra-cmake-modules-3f5eb85b639506904ae8a3ee2eaa20518ee55578.tar.bz2
Fix target name assumption in KDE4_ADD_APP_ICON together with Alex
Made error messages and variables in that macro be more clear, and fixed the documentation to reflect that svn path=/trunk/KDE/kdelibs/; revision=1146718
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index c9e8892f..25a3e914 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -233,14 +233,14 @@
#
# KDE4_ADD_APP_ICON (SRCS_VAR pattern)
# adds an application icon to target source list.
+# Make sure you have a 128x128 icon, or the icon won't display on Mac OS X.
# Mac OSX notes : the application icon is added to a Mac OS X bundle so that Finder and friends show the right thing.
# Win32 notes: the application icon(s) are compiled into the application
# There is some workaround in kde4_add_kdeinit_executable to make it possible for those applications as well.
# Parameters:
-# SRCS_VAR - specifies the list of source files; this has to end in _SRCS or _KDEINIT_SRCS
-# (see the replace stuff below)
-# pattern - regular expression for searching application icons
-# Example: KDE4_ADD_APP_ICON( myapp_SRCS "pics/cr*-myapp.png")
+# SRCS_VAR - specifies the list of source files
+# pattern - regular expression for searching application icons
+# Example: KDE4_ADD_APP_ICON( myapp_SOURCES "pics/cr*-myapp.png")
# Example: KDE4_ADD_APP_ICON( myapp_KDEINIT_SRCS "icons/oxygen/*/apps/myapp.png")
#
# KDE4_UPDATE_ICONCACHE()