Problem: CMake build does not allow static linking libsodium

Solution: Pass along SODIUM_STATIC define if set in CMake config
This commit is contained in:
Jake Cobb 2017-08-10 13:04:15 -04:00
parent 889a6bff05
commit 0cbdc18817

View File

@ -40,6 +40,7 @@
#cmakedefine ZMQ_HAVE_CURVE
#cmakedefine ZMQ_USE_TWEETNACL
#cmakedefine ZMQ_USE_LIBSODIUM
#cmakedefine SODIUM_STATIC
#ifdef _AIX
#define ZMQ_HAVE_AIX