diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-24 22:32:24 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-24 22:32:24 +0100 |
commit | 359e9b6c2b0cc4817b55338f0b89638945d98c50 (patch) | |
tree | 731b1b59a96f9ff84a6a5b531964418bee634815 /CMakeLists.txt | |
parent | 4ffc28ecd6d914f9c1e5aaf5d5921ee4827bb289 (diff) | |
download | fastd-359e9b6c2b0cc4817b55338f0b89638945d98c50.tar fastd-359e9b6c2b0cc4817b55338f0b89638945d98c50.zip |
Rename methods to protocols; fix some command line parse bugs; implement most of the config file parser
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ed04b15..40bdb3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,11 +13,11 @@ if(UECC_FOUND AND NACL_FOUND) set(CRYPTO_FOUND TRUE) endif(UECC_FOUND AND NACL_FOUND) -set(WITH_METHOD_ECFXP ${CRYPTO_FOUND} CACHE BOOL "Include ec25519-fhmqvc-xsalsa20-poly1305 method") +set(WITH_PROTOCOL_ECFXP ${CRYPTO_FOUND} CACHE BOOL "Include ec25519-fhmqvc-xsalsa20-poly1305 protocol") -if(WITH_METHOD_ECFXP AND NOT CRYPTO_FOUND) - MESSAGE(FATAL_ERROR "libuecc and NaCl are required for the ec25519-fhmqvc-xsalsa20-poly1305 method") -endif(WITH_METHOD_ECFXP AND NOT CRYPTO_FOUND) +if(WITH_PROTOCOL_ECFXP AND NOT CRYPTO_FOUND) + MESSAGE(FATAL_ERROR "libuecc and NaCl are required for the ec25519-fhmqvc-xsalsa20-poly1305 protocol") +endif(WITH_PROTOCOL_ECFXP AND NOT CRYPTO_FOUND) configure_file(${FASTD_SOURCE_DIR}/config.h.in ${FASTD_BINARY_DIR}/config.h) |