diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f745bb39..fd20981d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,7 +149,7 @@ if(SEAL_USE_MSGSL) message(STATUS "Microsoft GSL: download ...") seal_fetch_thirdparty_content(ExternalMSGSL) else() - find_package(Microsoft.GSL 3 CONFIG) + find_package(Microsoft.GSL 3..4 CONFIG) if(NOT Microsoft.GSL_FOUND) message(FATAL_ERROR "Microsoft GSL: not found") else() @@ -169,7 +169,7 @@ if(SEAL_USE_ZLIB) seal_fetch_thirdparty_content(ExternalZLIB) set(zlib "zlibstatic") else() - find_package(ZLIB 1.2.11) + find_package(ZLIB 1) if(NOT ZLIB_FOUND) message(FATAL_ERROR "ZLIB: not found") else() @@ -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 1) if (NOT TARGET HEXL::hexl) message(FATAL_ERROR "Intel HEXL: not found") endif() diff --git a/native/tests/CMakeLists.txt b/native/tests/CMakeLists.txt index baaeb73ca..f74e65fcd 100644 --- a/native/tests/CMakeLists.txt +++ b/native/tests/CMakeLists.txt @@ -41,7 +41,7 @@ if(SEAL_BUILD_TESTS) seal_fetch_thirdparty_content(ExternalGTest) add_library(GTest::gtest ALIAS gtest) else() - find_package(GTest 1.10.0 CONFIG) + find_package(GTest 1 CONFIG) if(NOT GTest_FOUND) message(FATAL_ERROR "GoogleTest: not found") else()