From 0f65f439e79c760eba217b1f3a83e144a566d656 Mon Sep 17 00:00:00 2001 From: samuaz Date: Thu, 21 Mar 2024 01:27:39 +0100 Subject: [PATCH] Fix build requirements --- recipes/mariadb-connector-cpp/all/conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/mariadb-connector-cpp/all/conanfile.py b/recipes/mariadb-connector-cpp/all/conanfile.py index d62c9c54e965a..d3452811ac079 100644 --- a/recipes/mariadb-connector-cpp/all/conanfile.py +++ b/recipes/mariadb-connector-cpp/all/conanfile.py @@ -43,12 +43,14 @@ def layout(self): def requirements(self): self.requires("mariadb-connector-c/3.3.3") - self.tool_requires("cmake/[>=3.23 <4]") self.requires("zlib/[>=1.2.10 <2]") self.requires("zstd/1.5.5") if self.options.with_ssl == "openssl": self.requires("openssl/[>=1.1 <4]") + def build_requirements(self): + self.tool_requires("cmake/[>=3.23 <4]") + def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True)