Skip to content
Permalink
Browse files

cmake: find library in argon2_LIBRARY_DIRS

  • Loading branch information...
aberaud committed Aug 30, 2019
1 parent 20df5fe commit e4dacc64b5de504f0da84102abbadfec51670290
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -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 comments on commit e4dacc6

Please sign in to comment.
You can’t perform that action at this time.