From c56d9565031f085aa8e1e1c53827aef2de1e26bf Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Fri, 24 Jan 2025 22:24:09 +0100 Subject: [PATCH] Add coremedia linking for macos --- cmake/functions/AppleHelper.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/functions/AppleHelper.cmake b/cmake/functions/AppleHelper.cmake index 3e1111a..cd1b46c 100644 --- a/cmake/functions/AppleHelper.cmake +++ b/cmake/functions/AppleHelper.cmake @@ -30,6 +30,7 @@ function(LinkAppleFrameworks TARGET) find_library(IOSURFACE IOSurface) find_library(QUARTZ Quartz) find_library(AVFOUNDATION AVFoundation) + find_library(COREMEDIA CoreMedia) # link the frameworks located above if(IOS) @@ -44,4 +45,5 @@ function(LinkAppleFrameworks TARGET) target_link_libraries(${TARGET} PUBLIC ${CFNETWORK}) target_link_libraries(${TARGET} PUBLIC ${SYSTEMCONFIGURATION}) target_link_libraries(${TARGET} PUBLIC ${AVFOUNDATION}) + target_link_libraries(${TARGET} PUBLIC ${COREMEDIA}) endfunction()