From 326d48e2cd2d9985e46da666389dfcffe5da8c77 Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Wed, 25 Mar 2009 04:20:29 +0000 Subject: 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 --- modules/KDE4Macros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/KDE4Macros.cmake') 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) -- cgit v1.2.1