Changeset 493:d68f27e7e814 in freeDiameter
- Timestamp:
- Aug 13, 2010, 5:23:39 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cmake/Modules/FindGnuTLS.cmake
r304 r493 3 3 # 4 4 # GNUTLS_FOUND - True if gnutls found. 5 # GNUTLS_INCLUDE_DIR S- where to find gnutls.h, etc.5 # GNUTLS_INCLUDE_DIR - where to find gnutls.h, etc. 6 6 # GNUTLS_LIBRARIES - List of libraries when using gnutls. 7 7 8 if (GNUTLS_INCLUDE_DIR SAND GNUTLS_LIBRARIES)8 if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARIES) 9 9 set(GNUTLS_FIND_QUIETLY TRUE) 10 endif (GNUTLS_INCLUDE_DIR SAND GNUTLS_LIBRARIES)10 endif (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARIES) 11 11 12 12 # Include dir -
cmake/Modules/FindSCTP.cmake
r284 r493 3 3 # 4 4 # SCTP_FOUND - system has SCTP 5 # SCTP_INCLUDE_DIR S- the SCTP include directories5 # SCTP_INCLUDE_DIR - the SCTP include directories 6 6 # SCTP_LIBRARIES - link these to use SCTP 7 7 8 if (SCTP_INCLUDE_DIR SAND SCTP_LIBRARIES)8 if (SCTP_INCLUDE_DIR AND SCTP_LIBRARIES) 9 9 set(SCTP_FIND_QUIETLY TRUE) 10 endif (SCTP_INCLUDE_DIR SAND SCTP_LIBRARIES)10 endif (SCTP_INCLUDE_DIR AND SCTP_LIBRARIES) 11 11 12 12 # Include dir -
extensions/CMakeLists.txt
r425 r493 15 15 # The extensions include the headers of freeDiameter that contains gnutls objects 16 16 FIND_PACKAGE(GnuTLS REQUIRED) 17 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR S})17 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR}) 18 18 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) 19 19 If ( NOT GCRYPT_INCLUDE_DIR ) -
freeDiameter/CMakeLists.txt
r341 r493 51 51 # Require GNU TLS for building the daemon 52 52 FIND_PACKAGE(GnuTLS REQUIRED) 53 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR S})53 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR}) 54 54 SET(FD_LIBS ${FD_LIBS} ${GNUTLS_LIBRARIES}) 55 55 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) -
include/freeDiameter/CMakeLists.txt
r492 r493 80 80 IF(NOT HAVE_NATIVE_SCTP) 81 81 FIND_PACKAGE(SCTP REQUIRED) 82 INCLUDE_DIRECTORIES(${SCTP_INCLUDE_DIR S})82 INCLUDE_DIRECTORIES(${SCTP_INCLUDE_DIR}) 83 83 ENDIF(NOT HAVE_NATIVE_SCTP) 84 84 # Now check the number of args of this function, since it changed between Ubuntu 9.04 and 9.10 … … 90 90 } 91 91 ") 92 SET(CMAKE_REQUIRED_INCLUDES ${SCTP_INCLUDE_DIR S})92 SET(CMAKE_REQUIRED_INCLUDES ${SCTP_INCLUDE_DIR}) 93 93 SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES}) 94 94 CHECK_C_SOURCE_COMPILES("${CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE}" SCTP_CONNECTX_4_ARGS)
Note: See TracChangeset
for help on using the changeset viewer.