diff --git a/recipes/getdns/all/conanfile.py b/recipes/getdns/all/conanfile.py index e0afdd7ad08aae..c61ba0421788d0 100644 --- a/recipes/getdns/all/conanfile.py +++ b/recipes/getdns/all/conanfile.py @@ -5,7 +5,6 @@ from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout from conan.tools.env import VirtualBuildEnv from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rmdir, rm, replace_in_file -from conan.tools.gnu import PkgConfigDeps from conan.tools.microsoft import is_msvc required_conan_version = ">=1.53.0" @@ -81,8 +80,7 @@ def requirements(self): raise ConanInvalidConfiguration("libunbound is not (yet) available on cci") def build_requirements(self): - if not self.conf.get("tools.gnu:pkg_config", default=False, check_type=str): - self.tool_requires("pkgconf/2.0.3") + self.tool_requires("cmake/[>=3.20 <4]") def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) @@ -120,9 +118,6 @@ def generate(self): deps.set_property("nettle", "cmake_target_name", "Nettle::Nettle") deps.generate() - deps = PkgConfigDeps(self) - deps.generate() - def _patch_sources(self): apply_conandata_patches(self) rm(self, "Find*.cmake", os.path.join(self.source_folder, "cmake", "modules"))