diff options
| author | Benjamin Reed <ranger@befunk.com> | 2009-03-25 04:20:29 +0000 | 
|---|---|---|
| committer | Benjamin Reed <ranger@befunk.com> | 2009-03-25 04:20:29 +0000 | 
| commit | 326d48e2cd2d9985e46da666389dfcffe5da8c77 (patch) | |
| tree | 6a7868d71fc0335ef28d8e7ede26a152a9d76c79 /modules | |
| parent | 469212995470a758c17bec178031ce04dcdc2fa4 (diff) | |
| download | extra-cmake-modules-326d48e2cd2d9985e46da666389dfcffe5da8c77.tar.gz extra-cmake-modules-326d48e2cd2d9985e46da666389dfcffe5da8c77.tar.bz2 | |
don't want to do app-bundle stuff on OSX if we're using Qt/X11
svn path=/branches/KDE/4.2/kdelibs/; revision=944114
Diffstat (limited to 'modules')
| -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 f719e4a3..5533284b 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -1059,7 +1059,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) @@ -1104,7 +1104,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) | 
