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()