fix missing sodium link_directories

This commit is contained in:
Krzysztof Rosiński 2022-11-24 06:40:06 +01:00
parent 037dd199af
commit 80e5bfeade

View File

@ -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()