Mercurial > hg > freeDiameter
comparison include/freeDiameter/CMakeLists.txt @ 492:121397bd1afc
Small fix
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 13 Aug 2010 17:06:28 +0900 |
parents | 41e3c2a3721c |
children | d68f27e7e814 |
comparison
equal
deleted
inserted
replaced
491:6edd14e5f132 | 492:121397bd1afc |
---|---|
87 #include <netinet/sctp.h> | 87 #include <netinet/sctp.h> |
88 int main() { | 88 int main() { |
89 return sctp_connectx(0, NULL, 0, NULL); | 89 return sctp_connectx(0, NULL, 0, NULL); |
90 } | 90 } |
91 ") | 91 ") |
92 SET(CMAKE_REQUIRED_INCLUDES ${SCTP_INCLUDE_DIRS}) | |
92 SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES}) | 93 SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES}) |
93 CHECK_C_SOURCE_COMPILES("${CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE}" SCTP_CONNECTX_4_ARGS) | 94 CHECK_C_SOURCE_COMPILES("${CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE}" SCTP_CONNECTX_4_ARGS) |
94 ELSE (NOT DISABLE_SCTP) | 95 ELSE (NOT DISABLE_SCTP) |
95 MESSAGE(STATUS "Disabled SCTP support.") | 96 MESSAGE(STATUS "Disabled SCTP support.") |
96 ENDIF(NOT DISABLE_SCTP) | 97 ENDIF(NOT DISABLE_SCTP) |