Skip to content

Commit 7c5a8e3

Browse files
committed
put it in build_requirements
1 parent e63198c commit 7c5a8e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

conanfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ def requirements(self):
5151
self.requires('protobuf/[>=3.17.1]')
5252
self.requires('xtensor/[>=0.24.3]', transitive_headers=True)
5353

54-
# See https://github.com/conan-io/conan-center-index/issues/27165
55-
self.requires('b2/5.2.1', override=True)
5654

5755
def build_requirements(self):
56+
# See https://github.com/conan-io/conan-center-index/issues/27165
57+
self.tool_requires('b2/5.2.1', override=True)
58+
5859
if self.options.offline_proto_generation:
5960
self.tool_requires('grpc/[>=1.48.4]')
6061
self.tool_requires('protobuf/[>=3.17.1]')

0 commit comments

Comments
 (0)