Revert "调整链接顺序, 修正编译问题"

This reverts commit a92b02907d.
This commit is contained in:
wxf 2021-06-28 13:53:28 +08:00
parent cd7af6fa4e
commit 8cf58dd843

View File

@ -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(PREPEND LINK_LIB_LIST webrtc)
list(APPEND LINK_LIB_LIST webrtc)
else ()
message(WARNING "srtp未找到, webrtc相关功能打开失败")
endif ()