You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
555 B
CMake
25 lines
555 B
CMake
12 months ago
|
# - 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)
|