diff --git a/cmake/SeastarDependencies.cmake b/cmake/SeastarDependencies.cmake index 100d45d9203..25c38786826 100644 --- a/cmake/SeastarDependencies.cmake +++ b/cmake/SeastarDependencies.cmake @@ -159,14 +159,14 @@ macro (seastar_find_dependencies) # ProtobufConfig.cmake provided by protobuf defines this linkage. so we try # the CMake package configuration file first, and fall back to CMake's # FindProtobuf module. - find_package (Protobuf 2.5.0 + find_package (Protobuf 22.0...25.3 QUIET CONFIG) if (Protobuf_FOUND) # do it again, so the message is printed when the package is found - find_package(Protobuf 2.5.0 + find_package(Protobuf 22.0...25.3 CONFIG REQUIRED) else () - find_package(Protobuf 2.5.0 + find_package(Protobuf 2.5.0...4.25.3 REQUIRED) endif () endmacro ()