diff options
author | Benjamin Reed <ranger@befunk.com> | 2009-03-25 04:53:33 +0000 |
---|---|---|
committer | Benjamin Reed <ranger@befunk.com> | 2009-03-25 04:53:33 +0000 |
commit | 3906bdfc1e9489d2e65ed5e5295a0f9434dc9bc1 (patch) | |
tree | 995a88df6228cd0d4a441b120539b3b398af5ed4 | |
parent | 11e81246749ceb069ac32a7bb8e622d2e0f5a6e7 (diff) | |
download | extra-cmake-modules-3906bdfc1e9489d2e65ed5e5295a0f9434dc9bc1.tar.gz extra-cmake-modules-3906bdfc1e9489d2e65ed5e5295a0f9434dc9bc1.tar.bz2 |
forward-port various Mac OS X fixes from the 4.2 branch to trunk
svn path=/trunk/KDE/kdelibs/; revision=944123
-rw-r--r-- | modules/KDE4Macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 7384e70f..280fbd39 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -1067,7 +1067,7 @@ macro (KDE4_ADD_APP_ICON appsources pattern) message(STATUS "Unable to find the png2ico or windres utilities - application will not have an application icon!") endif(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE) endif(WIN32) - if (APPLE) + if (Q_WS_MAC) # first convert image to a tiff using the Mac OS X "sips" utility, # then use tiff2icns to convert to an icon find_program(SIPS_EXECUTABLE NAMES sips) @@ -1112,7 +1112,7 @@ macro (KDE4_ADD_APP_ICON appsources pattern) else(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE) message(STATUS "Unable to find the sips and tiff2icns utilities - application will not have an application icon!") endif(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE) - endif(APPLE) + endif(Q_WS_MAC) endmacro (KDE4_ADD_APP_ICON) |