mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
调整链接顺序, 修正编译问题
webrtc 依赖于 zlmediakit
This commit is contained in:
parent
8c670c652e
commit
a92b02907d
@ -241,7 +241,7 @@ if (ENABLE_WEBRTC)
|
||||
include_directories(./webrtc)
|
||||
file(GLOB SRC_WEBRTC_LIST ./webrtc/*.cpp ./webrtc/*.h ./webrtc/*.hpp)
|
||||
add_library(webrtc ${SRC_WEBRTC_LIST})
|
||||
list(APPEND LINK_LIB_LIST webrtc)
|
||||
list(PREPEND LINK_LIB_LIST webrtc)
|
||||
else ()
|
||||
message(WARNING "srtp未找到, webrtc相关功能打开失败")
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user