mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
添加 dl 依赖库
This commit is contained in:
parent
9e18428d7b
commit
705875f410
@ -290,6 +290,7 @@ if (ENABLE_FFMPEG)
|
|||||||
|
|
||||||
if (AVUTIL_FOUND AND AVCODEC_FOUND AND SWSCALE_FOUND AND SWRESAMPLE_FOUND)
|
if (AVUTIL_FOUND AND AVCODEC_FOUND AND SWSCALE_FOUND AND SWRESAMPLE_FOUND)
|
||||||
add_definitions(-DENABLE_FFMPEG)
|
add_definitions(-DENABLE_FFMPEG)
|
||||||
|
list(APPEND LINK_LIB_LIST ${CMAKE_DL_LIBS})
|
||||||
else ()
|
else ()
|
||||||
set(ENABLE_FFMPEG off)
|
set(ENABLE_FFMPEG off)
|
||||||
message(WARNING "ffmpeg相关功能未找到")
|
message(WARNING "ffmpeg相关功能未找到")
|
||||||
|
Loading…
Reference in New Issue
Block a user