cmake: Add the SAS functions to the CMake build.

Signed-off-by: Damir Jelić <poljar@termina.org.uk>
This commit is contained in:
Damir Jelić 2019-04-28 08:53:19 +02:00
parent 992323c37c
commit 6eca9f1278

View file

@ -32,6 +32,7 @@ add_library(olm
src/session.cpp src/session.cpp
src/utility.cpp src/utility.cpp
src/pk.cpp src/pk.cpp
src/sas.c
src/ed25519.c src/ed25519.c
src/error.c src/error.c
@ -79,6 +80,7 @@ install(FILES
${CMAKE_SOURCE_DIR}/include/olm/outbound_group_session.h ${CMAKE_SOURCE_DIR}/include/olm/outbound_group_session.h
${CMAKE_SOURCE_DIR}/include/olm/inbound_group_session.h ${CMAKE_SOURCE_DIR}/include/olm/inbound_group_session.h
${CMAKE_SOURCE_DIR}/include/olm/pk.h ${CMAKE_SOURCE_DIR}/include/olm/pk.h
${CMAKE_SOURCE_DIR}/include/olm/sas.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/olm) DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/olm)
# Export the targets to a script. # Export the targets to a script.