From 80e5bfeade6340bd5618fe6448e5da642591303d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Rosi=C5=84ski?= Date: Thu, 24 Nov 2022 06:40:06 +0100 Subject: [PATCH] fix missing sodium link_directories --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 23c5c1dc..34ae1595 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -267,6 +267,7 @@ if(ENABLE_CURVE) if(SODIUM_FOUND) message(STATUS "Using libsodium for CURVE security") include_directories(${SODIUM_INCLUDE_DIRS}) + link_directories(${SODIUM_LIBRARY_DIRS}) if(WITH_LIBSODIUM_STATIC) add_compile_definitions(SODIUM_STATIC) endif()