From 73a94de0db962b0814ec34394e8c78dfcb5c75b2 Mon Sep 17 00:00:00 2001 From: Artalus Date: Thu, 25 Jan 2024 14:35:26 +0400 Subject: [PATCH 1/2] abseil: fix build in environments without CMake --- recipes/abseil/all/conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/abseil/all/conanfile.py b/recipes/abseil/all/conanfile.py index 1d57cb0be91b0..234bbe104d1db 100644 --- a/recipes/abseil/all/conanfile.py +++ b/recipes/abseil/all/conanfile.py @@ -49,6 +49,9 @@ def _compilers_minimum_version(self): }, }.get(self._min_cppstd, {}) + def build_requirements(self): + self.tool_requires("cmake/3.27.9") + def export_sources(self): copy(self, "abi_trick/*", self.recipe_folder, self.export_sources_folder) export_conandata_patches(self) From c9c461760baa413f855609c8543b5251079924c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ram=C3=ADrez?= Date: Mon, 29 Jan 2024 10:54:29 +0100 Subject: [PATCH 2/2] Update recipes/abseil/all/conanfile.py --- recipes/abseil/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/abseil/all/conanfile.py b/recipes/abseil/all/conanfile.py index 234bbe104d1db..63163e7c8ae9b 100644 --- a/recipes/abseil/all/conanfile.py +++ b/recipes/abseil/all/conanfile.py @@ -50,7 +50,7 @@ def _compilers_minimum_version(self): }.get(self._min_cppstd, {}) def build_requirements(self): - self.tool_requires("cmake/3.27.9") + self.tool_requires("cmake/[>=3.16 <4]") def export_sources(self): copy(self, "abi_trick/*", self.recipe_folder, self.export_sources_folder)