mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00: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:
parent
fd5bdee8b3
commit
eee1d7176b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user