From 3f5eb85b639506904ae8a3ee2eaa20518ee55578 Mon Sep 17 00:00:00 2001 From: Sjors Gielen Date: Tue, 6 Jul 2010 13:17:04 +0000 Subject: 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 --- modules/FindKDE4Internal.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/FindKDE4Internal.cmake') 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() -- cgit v1.2.1