diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-02-13 07:56:33 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-02-13 09:09:08 +0300 |
commit | 193f645f65ad4ffdec3186e4176b23af10861199 (patch) | |
tree | e1b16b48ac74c5f03f99a98798e849f6dd9752cc /libs/libaxolotl/src/CMakeLists.txt | |
parent | 36c32a13878d3bd94e88bd9c764f1eadb05ea1ed (diff) |
libs:
libaxolotl:
updated libaxolotl (libsignal-c) from (https://github.com/WhisperSystems/libsignal-protocol-c)
Diffstat (limited to 'libs/libaxolotl/src/CMakeLists.txt')
-rw-r--r-- | libs/libaxolotl/src/CMakeLists.txt | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/libs/libaxolotl/src/CMakeLists.txt b/libs/libaxolotl/src/CMakeLists.txt index 3900713add..54a24d0a6c 100644 --- a/libs/libaxolotl/src/CMakeLists.txt +++ b/libs/libaxolotl/src/CMakeLists.txt @@ -13,13 +13,13 @@ set(protobuf_SRCS FingerprintProtocol.pb-c.c ) -set(axolotl_SRCS +set(signal_protocol_SRCS vpool.c vpool.h - axolotl.c - axolotl.h - axolotl_types.h - axolotl_internal.h + signal_protocol.c + signal_protocol.h + signal_protocol_types.h + signal_protocol_internal.h curve.c curve.h hkdf.c @@ -36,6 +36,7 @@ set(axolotl_SRCS session_pre_key.h session_builder.c session_builder.h + session_builder_internal.h session_cipher.c session_cipher.h key_helper.c @@ -52,22 +53,24 @@ set(axolotl_SRCS group_cipher.h fingerprint.c fingerprint.h + device_consistency.c + device_consistency.h ) add_subdirectory(curve25519) add_subdirectory(protobuf-c) -add_library(axolotl-c +add_library(signal-protocol-c ${protobuf_SRCS} - ${axolotl_SRCS} + ${signal_protocol_SRCS} $<TARGET_OBJECTS:curve25519> $<TARGET_OBJECTS:protobuf-c> ) INSTALL( FILES - axolotl.h - axolotl_types.h + signal_protocol.h + signal_protocol_types.h curve.h hkdf.h ratchet.h @@ -84,7 +87,8 @@ INSTALL( group_session_builder.h group_cipher.h fingerprint.h - DESTINATION include/axolotl + device_consistency.h + DESTINATION ${INCLUDE_INSTALL_DIR}/signal ) -INSTALL(TARGETS axolotl-c DESTINATION lib) +INSTALL(TARGETS signal-protocol-c DESTINATION ${LIB_INSTALL_DIR}) |