0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01: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:
Luca Boccassi 2016-02-11 20:40:34 +00:00
parent f777ad8b91
commit 1e6915039f

View File

@ -22,7 +22,7 @@ option (ENABLE_CURVE "Enable CURVE security" ON)
if (NOT ENABLE_CURVE)
message (STATUS "CURVE security is disabled")
elseif (WITH_SODIUM)
elseif (WITH_LIBSODIUM)
find_package (Sodium)
if (SODIUM_FOUND)
message (STATUS "Using libsodium for CURVE security")