mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
Also modernizes it a bit more to use cmake interfaces, plus fixes an oxenmq linking issue.
22 lines
359 B
CMake
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})
|