summaryrefslogtreecommitdiff
path: root/cmake/FindSODIUM.cmake
blob: ffb6a1f7e5ac13263b0d2e510a30a5ee9c331c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Find SODIUM
#
# SODIUM_INCLUDE_DIR
# SODIUM_LIBRARY
# SODIUM_FOUND
#

FIND_PATH(SODIUM_INCLUDE_DIR NAMES sodium.h)

FIND_LIBRARY(SODIUM_LIBRARY NAMES sodium)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SODIUM DEFAULT_MSG SODIUM_LIBRARY SODIUM_INCLUDE_DIR)

MARK_AS_ADVANCED(SODIUM_INCLUDE_DIR SODIUM_LIBRARY)