Skip to content

Commit 9b1f9ef

Browse files
uilianriesAbrilRBS
andauthored
Fix example code using tool_requires
Co-authored-by: Abril Rincón Blanco <[email protected]>
1 parent 95bb6e5 commit 9b1f9ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/tools/gnu/pkgconfig.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ In case of not having ``pkg-config`` available in the system, it is possible to
5858
5959
class Pkg(ConanFile):
6060
61-
def tool_requires(self):
62-
self.requires("pkgconf/[*]")
61+
def build_requirements(self):
62+
self.tool_requires("pkgconf/[*]")
6363
6464
...
6565

0 commit comments

Comments
 (0)