From 1e6915039f8eaaee0e99e1d833b9c0d19f1e0b0c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 11 Feb 2016 20:40:34 +0000 Subject: [PATCH] Problem: typo in CMakeLists.txt, can't use sodium Solution: check for WITH_LIBSODIUM configure option instead of WITH_SODIUM --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93dea034..50b4a71c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")