Navigation



Ignore:
Timestamp:
May 14, 2010, 6:05:43 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanup vars names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/CMakeLists.txt

    r304 r305  
    66# Configurable parameters
    77
    8 # The default directory for configuration files
    9 SET(DEFAULT_CONF_PATH ${CMAKE_INSTALL_PREFIX}/etc/freeDiameter CACHE PATH "Default location of freeDiameter configuration files")
    10 
    11 # The default directory for extension files
    12 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/lib/fdx CACHE PATH "Default location of freeDiameter extensions")
    13 
    148# Disable SCTP support completly ?
    159OPTION(DISABLE_SCTP "Disable SCTP support?" OFF)
     
    1711        OPTION(DEBUG_SCTP "Verbose SCTP (for debug)?" OFF)
    1812        OPTION(SCTP_USE_MAPPED_ADDRESSES "Use v6-mapped v4 addresses in SCTP (workaround some SCTP limitations)?" OFF)
    19 ELSE (NOT DISABLE_SCTP)
    20         MESSAGE(STATUS "Disabled SCTP support.")
    2113ENDIF (NOT DISABLE_SCTP)
    2214
     
    7971        SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES})
    8072        CHECK_C_SOURCE_COMPILES("${CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE}" SCTP_CONNECTX_4_ARGS)
     73ELSE (NOT DISABLE_SCTP)
     74        MESSAGE(STATUS "Disabled SCTP support.")
    8175ENDIF(NOT DISABLE_SCTP)
    8276
     
    9791
    9892##########################
     93# rename this var for the file
     94SET(DEFAULT_EXTENSIONS_PATH ${INSTALL_EXTENSIONS_PATH})
     95
     96##########################
    9997
    10098# Generate the host.h file
     
    103101# Save some variables for the other directories
    104102SET(FD_LIBS ${FD_LIBS} PARENT_SCOPE)
    105 SET(DEFAULT_CONF_PATH ${DEFAULT_CONF_PATH} PARENT_SCOPE)
    106 SET(DEFAULT_EXTENSIONS_PATH ${DEFAULT_EXTENSIONS_PATH} PARENT_SCOPE)
    107 
    108103
    109104####
     
    112107# The headers from this directory are required to develop new extensions for freeDiameter.
    113108INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/freeDiameter-host.h libfreeDiameter.h freeDiameter.h extension.h
    114         DESTINATION include/freeDiameter
     109        DESTINATION ${INSTALL_HEADERS_PATH}
    115110        COMPONENT freeDiameter-dev)
    116111
Note: See TracChangeset for help on using the changeset viewer.