diff --git a/CMakeModules/AddAppIconMacro.cmake b/CMakeModules/AddAppIconMacro.cmake index 291312bd1..fe7fb6779 100644 --- a/CMakeModules/AddAppIconMacro.cmake +++ b/CMakeModules/AddAppIconMacro.cmake @@ -69,7 +69,7 @@ macro (TOMAHAWK_ADD_APP_ICON appsources outfilename 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 (Q_OS_MAC) + if (APPLE) # 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) @@ -110,5 +110,5 @@ macro (TOMAHAWK_ADD_APP_ICON appsources outfilename 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(Q_OS_MAC) + endif(APPLE) endmacro (TOMAHAWK_ADD_APP_ICON)