mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 22:55:52 +08:00
Merge pull request #941 from ZLMediaKit/feature/fix-cmake-prepend
Revert "调整链接顺序, 修正编译问题"
This commit is contained in:
commit
42d2c1b4c0
@ -241,7 +241,7 @@ if (ENABLE_WEBRTC)
|
|||||||
include_directories(./webrtc)
|
include_directories(./webrtc)
|
||||||
file(GLOB SRC_WEBRTC_LIST ./webrtc/*.cpp ./webrtc/*.h ./webrtc/*.hpp)
|
file(GLOB SRC_WEBRTC_LIST ./webrtc/*.cpp ./webrtc/*.h ./webrtc/*.hpp)
|
||||||
add_library(webrtc ${SRC_WEBRTC_LIST})
|
add_library(webrtc ${SRC_WEBRTC_LIST})
|
||||||
list(PREPEND LINK_LIB_LIST webrtc)
|
list(APPEND LINK_LIB_LIST webrtc)
|
||||||
else ()
|
else ()
|
||||||
message(WARNING "srtp未找到, webrtc相关功能打开失败")
|
message(WARNING "srtp未找到, webrtc相关功能打开失败")
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user