Changeset 1333:cbe1da7a32f1 in freeDiameter for include/freeDiameter
- Timestamp:
- Apr 9, 2019, 10:11:32 PM (5 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/CMakeLists.txt
r1295 r1333 18 18 # In DEBUG mode, each log can contain pid, calling function and file for easy debug. Set to ON to display this information. 19 19 OPTION(DEBUG_WITH_META "Show calling location in logs?" OFF) 20 20 21 21 # Create the absolute path for searching extensions 22 22 SET(DEFAULT_EXTENSIONS_PATH ${CMAKE_INSTALL_PREFIX}/${INSTALL_EXTENSIONS_SUFFIX}) … … 32 32 OPTION(DISABLE_PEER_EXPIRY "Disable RFC3539 Peers Connections Expiration after inactivity?" OFF) 33 33 34 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, 35 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the 34 # The following workaround increases compatibility with some implementations without breaking anything in freeDiameter, 35 # so it can be enabled without risk. We keep it disabled by default anyway for those people who use freeDiameter to check the 36 36 # compliancy of their implementation with the Diameter RFC... 37 37 OPTION(WORKAROUND_ACCEPT_INVALID_VSAI "Do not reject a CER/CEA with a Vendor-Specific-Application-Id AVP containing both Auth- and Acct- application AVPs?" OFF) … … 45 45 INCLUDE (CheckFunctionExists) 46 46 INCLUDE (CheckIncludeFiles) 47 INCLUDE (CheckSymbolExists) 47 INCLUDE (CheckSymbolExists) 48 48 INCLUDE (CheckCSourceCompiles) 49 49 INCLUDE (TestBigEndian) … … 134 134 135 135 # IDNA process: we use libidn from GNU (unless the function & header files are included in libc) 136 IF(NOT DIAMID_IDNA_IGNORE 136 IF(NOT DIAMID_IDNA_IGNORE AND NOT DIAMID_IDNA_REJECT) 137 137 FIND_PACKAGE(IDNA) 138 138 SET(CHECK_IDNA_SOURCE_CODE " … … 160 160 SET(GNUTLS_LIBRARIES ${GNUTLS_LIBRARIES} PARENT_SCOPE) 161 161 162 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)163 I f ( NOT GCRYPT_INCLUDE_DIR)162 FIND_PATH(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) 163 IF(NOT GCRYPT_INCLUDE_DIR) 164 164 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") 165 E ndif ( NOT GCRYPT_INCLUDE_DIR)165 ENDIF(NOT GCRYPT_INCLUDE_DIR) 166 166 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR) 167 167 SET(GCRYPT_INCLUDE_DIR ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE) 168 168 169 169 # Also we need libgcrypt to... display its version :( 170 find_library(GCRYPT_LIBRARY 170 FIND_LIBRARY(GCRYPT_LIBRARY 171 171 NAMES gcrypt 172 172 ) 173 I f ( NOT GCRYPT_LIBRARY)173 IF(NOT GCRYPT_LIBRARY) 174 174 MESSAGE(SEND_ERROR "Unable to find libgcrypt, please install libgcrypt or equivalent") 175 E ndif ( NOT GCRYPT_LIBRARY)175 ENDIF(NOT GCRYPT_LIBRARY) 176 176 SET(GCRYPT_LIBRARY ${GCRYPT_LIBRARY} PARENT_SCOPE) 177 177 … … 229 229 SET(LFDCORE_INCLUDES ${SCTP_INCLUDE_DIR} ${GNUTLS_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE) 230 230 # And dependencies 231 SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) 231 SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) 232 232 # We don't force other libraries, the programs will link with what it needs 233 233 # (such as libgnutls if it uses GNUTLS_DEBUG() macro
Note: See TracChangeset
for help on using the changeset viewer.