sync upstream CMAKE file
@@ -236,6 +236,10 @@ IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
MESSAGE("LIBMNL found: " ${MNL_LIB})
ENDIF()
FIND_LIBRARY(SCTP_LIB sctp)
+ IF(EXISTS "/proc/sys/net/mptcp/mptcp_enabled")
+ MESSAGE(STATUS "MPTCP found")
+ ADD_DEFINITIONS(-DMPTCP_SUPPORT)
+ ENDIF()
ENDIF()
CHECK_INCLUDE_FILE(jansson.h HAVE_JANSSON_H)
