Add libsodium directory path hints for cmake

This commit is contained in:
Mário Kašuba 2015-03-17 21:26:24 +01:00
parent 2ae7ae698a
commit 89bf2af128

View File

@ -30,7 +30,7 @@ if(WITH_TWEETNACL)
list(APPEND TWEETNACL_SOURCES tweetnacl/contrib/randombytes/devurandom.c)
endif()
else()
find_library(SODIUM_FOUND sodium)
find_library(SODIUM_FOUND sodium HINTS "${CMAKE_PREFIX_PATH}/libsodium/bin")
endif()