mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed #6163: Force linking to objective C runtime
Sound channel requires the objective C runtime, force linking to fix build issues on older mac os versions
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
define_channel_client_subsystem("rdpsnd" "mac" "")
|
||||
|
||||
find_library(COCOA_LIBRARY Cocoa REQUIRED)
|
||||
FIND_LIBRARY(CORE_FOUNDATION CoreFoundation)
|
||||
FIND_LIBRARY(CORE_AUDIO CoreAudio REQUIRED)
|
||||
FIND_LIBRARY(AUDIO_TOOL AudioToolbox REQUIRED)
|
||||
@@ -38,6 +39,7 @@ set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS}
|
||||
${AUDIO_TOOL}
|
||||
${AV_FOUNDATION}
|
||||
${CORE_AUDIO}
|
||||
${COCOA_LIBRARY}
|
||||
${CORE_FOUNDATION})
|
||||
|
||||
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} freerdp winpr)
|
||||
|
||||
Reference in New Issue
Block a user