vcpkg/ports/seal/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
472 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fa65cb..c3651c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -223,7 +223,7 @@ if(SEAL_USE_INTEL_HEXL)
message(STATUS "Intel HEXL: download ...")
seal_fetch_thirdparty_content(ExternalIntelHEXL)
else()
- find_package(HEXL 1.2.3)
+ find_package(HEXL CONFIG REQUIRED)
if (NOT TARGET HEXL::hexl)
message(FATAL_ERROR "Intel HEXL: not found")
endif()