Skip to content

Commit

Permalink
getdns: bump cmake, remove pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Nov 26, 2023
1 parent 5c167ff commit 083ac47
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions recipes/getdns/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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"))
Expand Down

0 comments on commit 083ac47

Please sign in to comment.