Mercurial > hg > freeDiameter
comparison extensions/CMakeLists.txt @ 667:1f7c7ce85db3
More cleanups in the CMakeLists files
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 17 Jan 2011 13:03:14 +0900 |
parents | 083317a4e947 |
children | 571b3abaa5df |
comparison
equal
deleted
inserted
replaced
666:bee66d8ca38a | 667:1f7c7ce85db3 |
---|---|
25 ENDMACRO(FD_EXTENSION_SUBDIR) | 25 ENDMACRO(FD_EXTENSION_SUBDIR) |
26 | 26 |
27 OPTION(ALL_EXTENSIONS "Build ALL available extensions? (disable to select individual components)" OFF) | 27 OPTION(ALL_EXTENSIONS "Build ALL available extensions? (disable to select individual components)" OFF) |
28 | 28 |
29 # The extensions include the headers of freeDiameter that contains gnutls objects | 29 # The extensions include the headers of freeDiameter that contains gnutls objects |
30 FIND_PACKAGE(GnuTLS REQUIRED) | 30 INCLUDE_DIRECTORIES(${LFDCORE_INCLUDES}) |
31 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR}) | |
32 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h) | |
33 If ( NOT GCRYPT_INCLUDE_DIR ) | |
34 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") | |
35 Endif ( NOT GCRYPT_INCLUDE_DIR ) | |
36 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR) | |
37 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR}) | |
38 | 31 |
39 | 32 |
40 ########################### | 33 ########################### |
41 # Extensions section | 34 # Extensions section |
42 | 35 |