Skip to content

Commit

Permalink
toon: require pkgconf for test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Mar 25, 2024
1 parent 5b7fd55 commit d39141d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/toon/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def layout(self):
def requirements(self):
self.requires(self.tested_reference_str)

def build_requirements(self):
if not self.conf.get("tools.gnu:pkg_config", default=False, check_type=str):
self.tool_requires("pkgconf/2.1.0")

def build(self):
cmake = CMake(self)
cmake.configure()
Expand Down

0 comments on commit d39141d

Please sign in to comment.