diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a86e557..6350cb57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,6 +306,7 @@ if (ENABLE_WEBRTC) list(APPEND LINK_LIB_LIST webrtc) message(STATUS "webrtc功能已开启") else () + set(ENABLE_WEBRTC off) message(WARNING "srtp未找到, webrtc相关功能打开失败") endif () endif ()