Commit 1e691503 authored by Luca Boccassi's avatar Luca Boccassi

Problem: typo in CMakeLists.txt, can't use sodium

Solution: check for WITH_LIBSODIUM configure option instead of
WITH_SODIUM
parent f777ad8b
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment