Skip to content

Commit

Permalink
Use less specific dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kiromaru committed Dec 21, 2022
1 parent 8bceb09 commit c63e874
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion native/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c63e874

Please sign in to comment.