mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 23:51:04 +08:00
Problem: typo in CMakeLists.txt, can't use sodium
Solution: check for WITH_LIBSODIUM configure option instead of WITH_SODIUM
This commit is contained in:
parent
f777ad8b91
commit
1e6915039f
@ -22,7 +22,7 @@ option (ENABLE_CURVE "Enable CURVE security" ON)
|
|||||||
if (NOT ENABLE_CURVE)
|
if (NOT ENABLE_CURVE)
|
||||||
message (STATUS "CURVE security is disabled")
|
message (STATUS "CURVE security is disabled")
|
||||||
|
|
||||||
elseif (WITH_SODIUM)
|
elseif (WITH_LIBSODIUM)
|
||||||
find_package (Sodium)
|
find_package (Sodium)
|
||||||
if (SODIUM_FOUND)
|
if (SODIUM_FOUND)
|
||||||
message (STATUS "Using libsodium for CURVE security")
|
message (STATUS "Using libsodium for CURVE security")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user