Skip to content

Commit

Permalink
fix conan: use conan protobuf instead of system
Browse files Browse the repository at this point in the history
commit_hash:73cb7c1e96f62cca049f315834622174da49a1ef
  • Loading branch information
fdr400 committed Nov 14, 2024
1 parent 27c2da9 commit ebbe91c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions conan/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def layout(self):

def requirements(self):
self.requires(self.tested_reference_str)
self.build_requires('protobuf/5.27.0')

def build(self):
cmake = CMake(self)
Expand Down
3 changes: 3 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def requirements(self):
if self.options.with_kafka:
self.requires('librdkafka/2.6.0')

def build_requirements(self):
self.tool_requires('protobuf/5.27.0')

def validate(self):
if self.settings.os == 'Windows':
raise ConanInvalidConfiguration(
Expand Down

0 comments on commit ebbe91c

Please sign in to comment.