diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ffed12..fc52757 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,7 +258,7 @@ if(SEAL_USE_INTEL_HEXL) message(STATUS "Intel HEXL: download ...") seal_fetch_thirdparty_content(ExternalIntelHEXL) else() - find_package(HEXL 1) + find_package(HEXL CONFIG REQUIRED) if(NOT TARGET HEXL::hexl) message(FATAL_ERROR "Intel HEXL: not found") endif()