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

[CMake] Sodium vs SODIUM on Windows #3761

Open
joligario opened this issue Dec 13, 2023 · 0 comments
Open

[CMake] Sodium vs SODIUM on Windows #3761

joligario opened this issue Dec 13, 2023 · 0 comments

Comments

@joligario
Copy link
Contributor

FIND_PACKAGE(Sodium)

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SODIUM)
  does not match the name of the calling package (Sodium).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSodium.cmake:29 (find_package_handle_standard_args)
  vcpkg/vcpkg-export-x64/scripts/buildsystems/vcpkg.cmake:784 (_find_package)
  CMakeLists.txt:80 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

Using Windows, this can be SODIUM to remove this error. However, this causes errors on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants