From 686bbf0446856898e21699d37827fa4411d12439 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Mon, 2 Mar 2026 22:04:03 +0300 Subject: [PATCH] benchmark: fix build with vs2026 by allowing to build it with CMake 4+ (VS2026 is supported since CMake 4.2). --- recipes/benchmark/all/conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/benchmark/all/conanfile.py b/recipes/benchmark/all/conanfile.py index 741a672cff970..75510ea0498ac 100644 --- a/recipes/benchmark/all/conanfile.py +++ b/recipes/benchmark/all/conanfile.py @@ -66,7 +66,9 @@ def requirements(self): self.requires("libpfm4/4.13.0") def build_requirements(self): - self.tool_requires("cmake/[>=3.16.3 <4]") + # benchmark already bumped their minimum cmake version since v1.7.1 + # see https://github.com/google/benchmark/blob/v1.7.1/CMakeLists.txt for reference. + self.tool_requires("cmake/[>=3.16.3]") def _patch_sources(self): replace_in_file(self,