Skip to content
Snippets Groups Projects
Commit e4dacc64 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

cmake: find library in argon2_LIBRARY_DIRS

parent 20df5fe8
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@ if (NOT OPENDHT_ARGON2)
find_package(PkgConfig)
pkg_search_module(argon2 libargon2)
if (argon2_FOUND)
message("Argon2 found " ${argon2_req})
set(argon2_lib ", libargon2")
message("-- Found Argon2: " ${argon2_LIBRARY_DIRS} " (found version \"" ${argon2_VERSION} "\")")
link_directories (${argon2_LIBRARY_DIRS})
else ()
message("Argon2 not found, using included version.")
set(OPENDHT_ARGON2 ON)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment