File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,12 @@ if(FFmpeg_FOUND AND NOT TARGET FFmpeg::avcodec)
115115
116116 if (APPLE )
117117 set_property (TARGET FFmpeg::avcodec APPEND PROPERTY
118- INTERFACE_LINK_LIBRARIES "-framework CoreVideo" "-framework CoreImage" "-framework VideoToolbox" )
118+ INTERFACE_LINK_LIBRARIES
119+ "-framework CoreVideo"
120+ "-framework Security"
121+ "-framework CoreFoundation"
122+ "-framework VideoToolbox"
123+ "-framework AudioToolbox" )
119124 endif ()
120125 endif ()
121126endif ()
@@ -135,6 +140,17 @@ if(FFmpeg_FOUND AND NOT TARGET FFmpeg::avfilter)
135140 INTERFACE_LINK_DIRECTORIES "${AVFILTER_STATIC_LIBRARY_DIRS} " )
136141 set_property (TARGET FFmpeg::avfilter APPEND PROPERTY
137142 INTERFACE_LINK_LIBRARIES "${AVFILTER_STATIC_LIBRARIES} " )
143+
144+ if (APPLE )
145+ set_property (TARGET FFmpeg::avfilter APPEND PROPERTY
146+ INTERFACE_LINK_LIBRARIES
147+ "-framework CoreImage"
148+ "-framework CoreGraphics"
149+ "-framework OpenGL"
150+ "-framework Foundation"
151+ "-framework AppKit"
152+ )
153+ endif ()
138154 endif ()
139155endif ()
140156
You can’t perform that action at this time.
0 commit comments