mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
openssl未找到时关闭webrtc编译
This commit is contained in:
parent
c0afcc48e5
commit
038a604d4f
@ -152,6 +152,7 @@ if (OPENSSL_FOUND AND ENABLE_OPENSSL)
|
||||
list(APPEND LINK_LIB_LIST dl)
|
||||
endif ()
|
||||
else ()
|
||||
set(ENABLE_OPENSSL off)
|
||||
message(WARNING "openssl未找到,rtmp将不支持flash播放器,https/wss/rtsps/rtmps也将失效")
|
||||
endif ()
|
||||
|
||||
@ -295,7 +296,7 @@ endif ()
|
||||
if (ENABLE_WEBRTC)
|
||||
#查找srtp是否安装
|
||||
find_package(SRTP QUIET)
|
||||
if (SRTP_FOUND)
|
||||
if (SRTP_FOUND AND ENABLE_OPENSSL)
|
||||
message(STATUS "found library:${SRTP_LIBRARIES}")
|
||||
include_directories(${SRTP_INCLUDE_DIRS})
|
||||
list(APPEND LINK_LIB_LIST ${SRTP_LIBRARIES})
|
||||
|
Loading…
Reference in New Issue
Block a user