diff --git a/conanfile.py b/conanfile.py index 80f8920..cc3afac 100644 --- a/conanfile.py +++ b/conanfile.py @@ -62,11 +62,12 @@ def validate(self): check_min_cppstd(self, self._min_cppstd) def build_requirements(self): + self.tool_requires("cmake/3.27.1") self.tool_requires("libhal-cmake-util/[^1.0.0]") self.test_requires("boost-ext-ut/1.1.9") def requirements(self): - self.requires("libhal/[^2.0.0]") + self.requires("libhal/[^2.0.1]") self.requires("libhal-util/[^3.0.0]") def layout(self): diff --git a/test_package/conanfile.py b/test_package/conanfile.py index f9d3f5f..ad90aa2 100644 --- a/test_package/conanfile.py +++ b/test_package/conanfile.py @@ -26,6 +26,9 @@ class TestPackageConan(ConanFile): def _bare_metal(self): return self.settings.os == "baremetal" + def build_requirements(self): + self.tool_requires("cmake/3.27.1") + def requirements(self): self.requires(self.tested_reference_str)