mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
新增webrtc datachannel功能: #1216
This commit is contained in:
24
cmake/FindSCTP.cmake
Normal file
24
cmake/FindSCTP.cmake
Normal file
@@ -0,0 +1,24 @@
|
||||
# - Try to find sctp
|
||||
#
|
||||
# Once done this will define
|
||||
# SCTP_FOUND - System has mbedtls
|
||||
# SCTP_INCLUDE_DIRS - The mbedtls include directories
|
||||
# SCTP_LIBRARIES - The mbedtls library
|
||||
|
||||
|
||||
#find Mbedtls
|
||||
FIND_PATH(
|
||||
SCTP_INCLUDE_DIRS
|
||||
NAMES usrsctp.h
|
||||
)
|
||||
|
||||
FIND_LIBRARY(
|
||||
SCTP_LIBRARIES
|
||||
NAMES usrsctp
|
||||
)
|
||||
|
||||
message(STATUS "SCTP LIBRARIES: " ${SCTP_LIBRARIES})
|
||||
message(STATUS "SCTP INCLUDE DIRS: " ${SCTP_INCLUDE_DIRS})
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SCTP DEFAULT_MSG SCTP_LIBRARIES SCTP_INCLUDE_DIRS)
|
||||
Reference in New Issue
Block a user