[PATCH] Mac OS X application icon support
Marijn Kruisselbrink
m.kruisselbrink at student.tue.nl
Mon Feb 11 11:50:38 CET 2008
Benjamin Reed wrote:
> ...the specification in the kalgebra CMakeLists.txt looks like this:
>
> ---(snip!)---
> kde4_add_app_icon(kalgebra_SRCS
> "${CMAKE_CURRENT_SOURCE_DIR}/../icons/hi*-app-kalgebra.png")
> ---(snip!)---
>
The problem is that this specification is after the kde4_add_executable
call for that target. Fixed in r773552
> foreach(as ${appsources})
> ...
> Which, unless I'm misusing/misunderstanding foreach, it's giving me
> the name of the list specified in CMakeLists.txt, not a list.
>
You apparently need ${${appsources}} to get the contents of the list
(which makes sense as ${appsources} is a parameter containing the name
of the list to which the icon is appended)
Marijn
More information about the Kde-buildsystem
mailing list