microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.55k stars 706 forks source link

CMake Error: Could Not Find Configuration File for Package "SEAL" #694

Closed nelagamy closed 3 months ago

nelagamy commented 3 months ago

While attempting to build the SEAL library examples, I encountered a CMake error indicating that the configuration file for the SEAL package matching the requested version "4.1.1" could not be found. Instead, the configuration file found was for version "4.1.2". After manually inspecting the CMake files, I located the find_package(SEAL 4.1.1 EXACT REQUIRED) command in the CMakeLists.txt file and updated it to find_package(SEAL 4.1 REQUIRED), resolving the issue. However, I am unsure if this modification aligns with the recommended approach and would appreciate guidance from the maintainers

kimlaine commented 3 months ago

Thank you for pointing out this. A fix is now pushed (I updated the Release 4.1.2).