mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复第三方引用ZLM编译webrtc避免生成dll文件
This commit is contained in:
parent
eac5a5b1dc
commit
4a51d6b488
@ -53,7 +53,7 @@ file(GLOB WEBRTC_SRC_LIST
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
|
||||
add_library(webrtc ${WEBRTC_SRC_LIST})
|
||||
add_library(webrtc STATIC ${WEBRTC_SRC_LIST})
|
||||
add_library(ZLMediaKit::WebRTC ALIAS webrtc)
|
||||
target_compile_definitions(webrtc
|
||||
# ENABLE_SCTP 暂时需要暴露
|
||||
|
Loading…
Reference in New Issue
Block a user