ffmpeg support on linux, and check compiled vs. runtime versions of ffmpeg
This commit is contained in:
@@ -21,6 +21,8 @@ if(WIN32)
|
||||
target_link_directories(ffmpeg_audio PRIVATE ${FFMPEG_LIB})
|
||||
set(FFMPEG_LIBRARIES avcodec.lib avformat.lib swresample.lib avutil.lib avdevice.lib avfilter.lib swscale.lib)
|
||||
target_link_directories(demo_ffmpeg_audio PRIVATE ${FFMPEG_LIB})
|
||||
else()
|
||||
set(FFMPEG_LIBRARIES avcodec avformat swresample avutil avdevice avfilter swscale)
|
||||
endif()
|
||||
|
||||
target_link_libraries(ffmpeg_audio PRIVATE ${FFMPEG_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user