Add coremedia linking for macos
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user