Changeset 305:61f78fdbacc2 in freeDiameter for include/freeDiameter/CMakeLists.txt
- Timestamp:
- May 14, 2010, 6:05:43 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/CMakeLists.txt
r304 r305 6 6 # Configurable parameters 7 7 8 # The default directory for configuration files9 SET(DEFAULT_CONF_PATH ${CMAKE_INSTALL_PREFIX}/etc/freeDiameter CACHE PATH "Default location of freeDiameter configuration files")10 11 # The default directory for extension files12 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/lib/fdx CACHE PATH "Default location of freeDiameter extensions")13 14 8 # Disable SCTP support completly ? 15 9 OPTION(DISABLE_SCTP "Disable SCTP support?" OFF) … … 17 11 OPTION(DEBUG_SCTP "Verbose SCTP (for debug)?" OFF) 18 12 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.")21 13 ENDIF (NOT DISABLE_SCTP) 22 14 … … 79 71 SET(CMAKE_REQUIRED_LIBRARIES ${SCTP_LIBRARIES}) 80 72 CHECK_C_SOURCE_COMPILES("${CHECK_SCTP_CONNECTX_4_ARGS_SOURCE_CODE}" SCTP_CONNECTX_4_ARGS) 73 ELSE (NOT DISABLE_SCTP) 74 MESSAGE(STATUS "Disabled SCTP support.") 81 75 ENDIF(NOT DISABLE_SCTP) 82 76 … … 97 91 98 92 ########################## 93 # rename this var for the file 94 SET(DEFAULT_EXTENSIONS_PATH ${INSTALL_EXTENSIONS_PATH}) 95 96 ########################## 99 97 100 98 # Generate the host.h file … … 103 101 # Save some variables for the other directories 104 102 SET(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 108 103 109 104 #### … … 112 107 # The headers from this directory are required to develop new extensions for freeDiameter. 113 108 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/freeDiameter-host.h libfreeDiameter.h freeDiameter.h extension.h 114 DESTINATION include/freeDiameter109 DESTINATION ${INSTALL_HEADERS_PATH} 115 110 COMPONENT freeDiameter-dev) 116 111
Note: See TracChangeset
for help on using the changeset viewer.