diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2011-09-03 21:40:34 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2011-09-03 21:40:34 +0400 |
commit | 9739251101bffde2c62ba08c1869eb170d952d5b (patch) | |
tree | 41f59ad7a2c6fc855404f808cba887d88a32c96a /crypto/CMakeLists.txt | |
parent | 44adc2a544ea23aee39105b048c8f90cef565a5b (diff) | |
download | accel-ppp-xebd-9739251101bffde2c62ba08c1869eb170d952d5b.tar.gz accel-ppp-xebd-9739251101bffde2c62ba08c1869eb170d952d5b.zip |
implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL (default OPENSSL)
Diffstat (limited to 'crypto/CMakeLists.txt')
-rw-r--r-- | crypto/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt new file mode 100644 index 0000000..f741311 --- /dev/null +++ b/crypto/CMakeLists.txt @@ -0,0 +1,17 @@ +IF (CRYPTO STREQUAL INTERNAL) + + SET(sources + crypto.c + md4.c + md5.c + sha1.c + des.c + ) + + ADD_LIBRARY(internal-crypto SHARED ${sources}) + + INSTALL(TARGETS internal-crypto + LIBRARY DESTINATION lib/accel-ppp + ) + +ENDIF (CRYPTO STREQUAL INTERNAL) |