Navigation


Changeset 17:ab3c58d88be3 in freeDiameter for freeDiameter/CMakeLists.txt


Ignore:
Timestamp:
Oct 5, 2009, 2:03:05 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added proper gcrypt initializer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/CMakeLists.txt

    r16 r17  
    3131INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIRS})
    3232SET(FD_LIBS ${FD_LIBS} ${GNUTLS_LIBRARIES})
     33find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
     34If ( NOT GCRYPT_INCLUDE_DIR )
     35        MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent")
     36Endif ( NOT GCRYPT_INCLUDE_DIR )
     37INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR})
    3338
    3439# Building the executable
Note: See TracChangeset for help on using the changeset viewer.