Navigation


Changeset 666:bee66d8ca38a in freeDiameter


Ignore:
Timestamp:
Jan 17, 2011, 11:22:35 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix include directories directives

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/CMakeLists.txt

    r665 r666  
    8080        IF(NOT HAVE_NATIVE_SCTP)
    8181                FIND_PACKAGE(SCTP REQUIRED)
    82                 INCLUDE_DIRECTORIES(${SCTP_INCLUDE_DIR})
    8382        ENDIF(NOT HAVE_NATIVE_SCTP)
    8483        # Now check the number of args of this function, since it changed between Ubuntu 9.04 and 9.10
     
    10099# Require GNU TLS for building the library
    101100FIND_PACKAGE(GnuTLS REQUIRED)
    102 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR})
    103101
    104102find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
     
    107105Endif ( NOT GCRYPT_INCLUDE_DIR )
    108106MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR)
    109 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR})
    110107
    111108# Also we need libgcrypt to... display its version :(
     
    120117# LFDCORE_LIBS = libraries required by the libfdcore
    121118SET(LFDCORE_LIBS ${CMAKE_DL_LIBS} ${SCTP_LIBRARIES} ${GCRYPT_LIBRARY} ${GNUTLS_LIBRARIES} PARENT_SCOPE)
     119SET(LFDCORE_INCLUDES ${SCTP_INCLUDE_DIR} ${GNUTLS_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE)
    122120
    123121##########################
  • libfdcore/CMakeLists.txt

    r658 r666  
    4949SET(FDCORE_GEN_SRC ${FDCORE_GEN_SRC} PARENT_SCOPE)
    5050
     51# Include path
     52INCLUDE_DIRECTORIES(${LFDCORE_INCLUDES})
    5153
    5254# Build the executable
Note: See TracChangeset for help on using the changeset viewer.