mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-21 08:22:21 +08:00
修复第三方引用ZLM编译webrtc避免生成dll文件
This commit is contained in:
@@ -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 暂时需要暴露
|
||||
|
||||
Reference in New Issue
Block a user