summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:42:13 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:42:13 +0200
commit3c4b19c82c0d6181476bb4722c9d327054465e69 (patch)
tree3aca620372e28655db68b170501948fe4c8da82c
parent3ad9130b6fd61c926678e720bf31504851fbd7b8 (diff)
downloadfastd-3c4b19c82c0d6181476bb4722c9d327054465e69.tar
fastd-3c4b19c82c0d6181476bb4722c9d327054465e69.zip
Add some more newlines to CMakeLists.txt to make it more readable
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ae76437..bf0f5f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ pkg_check_modules(UECC REQUIRED libuecc>=3)
find_package(NaCl REQUIRED)
+
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LINUX TRUE)
else()
@@ -33,6 +34,7 @@ else(WITH_CAPABILITIES)
set(CAP_LIBRARY "")
endif(WITH_CAPABILITIES)
+
set(WITH_CRYPTO_AES128CTR_NACL TRUE CACHE BOOL "Include the AES128-CTR implementation from the NaCl library")
set(WITH_CRYPTO_GHASH_BUILTIN TRUE CACHE BOOL "Include the built-in GHASH implementation")
@@ -44,8 +46,10 @@ endif(LINUX)
set(WITH_METHOD_XSALSA20_POLY1305 TRUE CACHE BOOL "Include xsalsa20-poly1305 method")
set(WITH_METHOD_AES128_GCM TRUE CACHE BOOL "Include aes128-gcm method")
+
set(MAX_CONFIG_DEPTH 10 CACHE STRING "Maximum config include depth")
+
if(WITH_CRYPTO_AES128CTR_NACL OR WITH_CRYPTO_AES128CTR_LINUX)
set(WITH_CRYPTO_AES128CTR TRUE)
endif(WITH_CRYPTO_AES128CTR_NACL OR WITH_CRYPTO_AES128CTR_LINUX)