mfreerdp-server: don't link directly to CoreGraphics

Apparently one should link to ApplicationServices, which is a purely
transitional framework. This fixes builds with deployment target set
to 10.4 when building with the 10.8 SDK.
This commit is contained in:
Christian Hofstaedtler 2013-03-11 21:20:22 +01:00
parent 6cb3db2be9
commit 3fb2469089

View File

@ -21,7 +21,6 @@ set(MODULE_PREFIX "FREERDP_SERVER_MAC")
FIND_LIBRARY(AUDIO_TOOL AudioToolbox) FIND_LIBRARY(AUDIO_TOOL AudioToolbox)
FIND_LIBRARY(CORE_AUDIO CoreAudio) FIND_LIBRARY(CORE_AUDIO CoreAudio)
FIND_LIBRARY(CORE_VIDEO CoreVideo) FIND_LIBRARY(CORE_VIDEO CoreVideo)
FIND_LIBRARY(CORE_GRAPHICS CoreGraphics)
FIND_LIBRARY(APP_SERVICES ApplicationServices) FIND_LIBRARY(APP_SERVICES ApplicationServices)
FIND_LIBRARY(IOKIT IOKit) FIND_LIBRARY(IOKIT IOKit)
FIND_LIBRARY(IOSURFACE IOSurface) FIND_LIBRARY(IOSURFACE IOSurface)
@ -63,7 +62,6 @@ set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS}
${AUDIO_TOOL} ${AUDIO_TOOL}
${CORE_AUDIO} ${CORE_AUDIO}
${CORE_VIDEO} ${CORE_VIDEO}
${CORE_GRAPHICS}
${APP_SERVICES} ${APP_SERVICES}
${IOKIT} ${IOKIT}
${IOSURFACE} ${IOSURFACE}