vcpkg/ports/apsi/fix-find_package.patch
JonLiu1993 35cff4f5b0
[seal] update to <4.0.0> (#27952)
* [seal] update to <4.0.0>

* update version

* fix find_package

* update version

* add license

* update version
2022-11-22 12:28:19 -08:00

14 lines
484 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a7854d..b1a5f51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ set(APSI_INCLUDES_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR}/APSI-${APSI_VERSION_MA
# find_package might throw a FATAL_ERROR before"xxx: not found", e.g. with vcpkg.cmake.
# Microsoft SEAL
-find_package(SEAL 3.7 QUIET REQUIRED)
+find_package(SEAL CONFIG REQUIRED)
if(NOT SEAL_FOUND)
message(FATAL_ERROR "Microsoft SEAL: not found")
else()