oxen-storage-server/crypto/CMakeLists.txt
Jason Rhinelander c488e86141 Move all vendors cmake code to vendors/CMakeLists.txt
Also modernizes it a bit more to use cmake interfaces, plus fixes an
oxenmq linking issue.
2021-06-16 18:58:53 -03:00

22 lines
359 B
CMake

add_library(crypto STATIC
src/oxend_key.cpp
src/channel_encryption.cpp
src/signature.cpp)
target_include_directories(crypto PUBLIC include)
find_package(Threads)
target_link_libraries(crypto
PUBLIC
common
utils
PRIVATE
oxen-crypto-ops
OpenSSL::SSL
sodium
Boost::boost
Threads::Threads
${CMAKE_DL_LIBS})