Navigation


Changeset 493:d68f27e7e814 in freeDiameter


Ignore:
Timestamp:
Aug 13, 2010, 5:23:39 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fixed a few CMake variable names

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cmake/Modules/FindGnuTLS.cmake

    r304 r493  
    33#
    44#  GNUTLS_FOUND - True if gnutls found.
    5 #  GNUTLS_INCLUDE_DIRS - where to find gnutls.h, etc.
     5#  GNUTLS_INCLUDE_DIR - where to find gnutls.h, etc.
    66#  GNUTLS_LIBRARIES - List of libraries when using gnutls.
    77
    8 if (GNUTLS_INCLUDE_DIRS AND GNUTLS_LIBRARIES)
     8if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARIES)
    99  set(GNUTLS_FIND_QUIETLY TRUE)
    10 endif (GNUTLS_INCLUDE_DIRS AND GNUTLS_LIBRARIES)
     10endif (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARIES)
    1111
    1212# Include dir
  • cmake/Modules/FindSCTP.cmake

    r284 r493  
    33#
    44#  SCTP_FOUND - system has SCTP
    5 #  SCTP_INCLUDE_DIRS - the SCTP include directories
     5#  SCTP_INCLUDE_DIR - the SCTP include directories
    66#  SCTP_LIBRARIES - link these to use SCTP
    77
    8 if (SCTP_INCLUDE_DIRS AND SCTP_LIBRARIES)
     8if (SCTP_INCLUDE_DIR AND SCTP_LIBRARIES)
    99  set(SCTP_FIND_QUIETLY TRUE)
    10 endif (SCTP_INCLUDE_DIRS AND SCTP_LIBRARIES)
     10endif (SCTP_INCLUDE_DIR AND SCTP_LIBRARIES)
    1111
    1212# Include dir
  • extensions/CMakeLists.txt

    r425 r493  
    1515# The extensions include the headers of freeDiameter that contains gnutls objects
    1616FIND_PACKAGE(GnuTLS REQUIRED)
    17 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIRS})
     17INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR})
    1818find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
    1919If ( NOT GCRYPT_INCLUDE_DIR )
  • freeDiameter/CMakeLists.txt

    r341 r493  
    5151# Require GNU TLS for building the daemon
    5252FIND_PACKAGE(GnuTLS REQUIRED)
    53 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIRS})
     53INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR})
    5454SET(FD_LIBS ${FD_LIBS} ${GNUTLS_LIBRARIES})
    5555find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
  • include/freeDiameter/CMakeLists.txt

    r492 r493  
    8080        IF(NOT HAVE_NATIVE_SCTP)
    8181                FIND_PACKAGE(SCTP REQUIRED)
    82                 INCLUDE_DIRECTORIES(${SCTP_INCLUDE_DIRS})
     82                INCLUDE_DIRECTORIES(${SCTP_INCLUDE_DIR})
    8383        ENDIF(NOT HAVE_NATIVE_SCTP)
    8484        # Now check the number of args of this function, since it changed between Ubuntu 9.04 and 9.10
     
    9090                }
    9191                ")
    92         SET(CMAKE_REQUIRED_INCLUDES ${SCTP_INCLUDE_DIRS})
     92        SET(CMAKE_REQUIRED_INCLUDES ${SCTP_INCLUDE_DIR})
    9393        SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES})
    9494        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.