Skip to content

Commit

Permalink
fix conan: correct dependencies for modules
Browse files Browse the repository at this point in the history
commit_hash:295ffe60e7bd955b0dd5a2d47bf3cdd9c0794c14
  • Loading branch information
fdr400 committed Nov 13, 2024
1 parent 019ceaf commit 120b3ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ def mongo():

def cyrussasl():
return (
['cyrus-sasl::cyrus-sasl'] if self.options.with_mongodb else []
['cyrus-sasl::cyrus-sasl']
if self.options.with_mongodb or self.options.with_kafka
else []
)

def hiredis():
Expand All @@ -499,7 +501,6 @@ def librdkafka():
'lib': 'core',
'requires': (
['universal']
+ abseil()
+ fmt()
+ cctz()
+ boost()
Expand Down Expand Up @@ -540,7 +541,7 @@ def librdkafka():
{
'target': 'grpc',
'lib': 'grpc',
'requires': (['core'] + grpc() + protobuf()),
'requires': (['core'] + abseil() + grpc() + protobuf()),
},
{
'target': 'grpc-handlers',
Expand Down Expand Up @@ -608,7 +609,7 @@ def librdkafka():
{
'target': 'clickhouse',
'lib': 'clickhouse',
'requires': ['core'] + clickhouse(),
'requires': ['core'] + abseil() + clickhouse(),
},
])
if self.options.with_kafka:
Expand Down

0 comments on commit 120b3ca

Please sign in to comment.