@@ -39,18 +39,19 @@ def configure(self):
3939 # From some experiments it seems that the shared-ness of these packages
4040 # should match that of the SDK recipe. Failure to do so can cause linker
4141 # errors while compiling, or static initialization errors at runtime for modules.
42- for lib in ["grpc" , "protobuf" ]:
42+ for lib in ["grpc" , "protobuf" , "abseil" ]:
4343 self .options [lib ].shared = True
4444
4545 def requirements (self ):
4646 self .requires ('boost/[>=1.74.0]' , transitive_headers = True )
4747
4848 # The SDK supports older grpc and protobuf, but these are the oldest
4949 # maintained conan packages.
50- self .requires ('grpc/[>=1.48.4]' , transitive_libs = True )
51- self .requires ('protobuf/[>=3.17.1]' , transitive_libs = True )
50+ self .requires ('grpc/[>=1.48.4]' )
51+ self .requires ('protobuf/[>=3.17.1]' )
5252
5353 self .requires ('xtensor/[>=0.24.3]' )
54+ self .requires ('abseil/[>=20230125.3]' )
5455
5556 def build_requirements (self ):
5657 if self .options .offline_proto_generation :
@@ -93,6 +94,8 @@ def package_info(self):
9394 if self .settings .os in ["Linux" , "FreeBSD" ]:
9495 self .cpp_info .components [component ].system_libs = ["pthread" ]
9596
97+ self .cpp_info .components ["viamapi" ].requires .append ("abseil::absl_strings" )
98+
9699 if self .settings .os in ["Linux" , "FreeBSD" ]:
97100 self .cpp_info .components ["viamsdk" ].system_libs .extend (["dl" , "rt" ])
98101
0 commit comments