Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearer explanation on whether FindSodium.cmake uses upper or lower case. #80

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build/fbcode_builder/CMake/FindSodium.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
########################################################################
# Tries to find the local libsodium installation.
#
# Call find_package(Sodium) to start the research
#
# On Windows the sodium_DIR environment variable is used as a default
# hint which can be overridden by setting the corresponding cmake variable.
#
# Once done the following variables will be defined:
#
# sodium_FOUND
# Sodium_FOUND
# sodium_INCLUDE_DIR
# sodium_LIBRARY_DEBUG
# sodium_LIBRARY_RELEASE
Expand Down Expand Up @@ -91,7 +93,7 @@ if (UNIX)
########################################################################
# Windows
elseif (WIN32)
set(sodium_DIR "$ENV{sodium_DIR}" CACHE FILEPATH "sodium install directory")
set(sodium_DIR "$ENV{sodium_DIR}" CACHE PATH "sodium install directory")
mark_as_advanced(sodium_DIR)

find_path(sodium_INCLUDE_DIR sodium.h
Expand Down