@@ -47,11 +47,11 @@ def requirements(self):
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_headers = True )
51- self .requires ('protobuf/[>=3.17.1]' , transitive_headers = 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]' , transitive_libs = True )
54+ self .requires ('abseil/[>=20230125.3]' )
5555
5656 def build_requirements (self ):
5757 if self .options .offline_proto_generation :
@@ -94,6 +94,8 @@ def package_info(self):
9494 if self .settings .os in ["Linux" , "FreeBSD" ]:
9595 self .cpp_info .components [component ].system_libs = ["pthread" ]
9696
97+ self .cpp_info .components ["viamapi" ].requires .append ("abseil::absl_strings" )
98+
9799 if self .settings .os in ["Linux" , "FreeBSD" ]:
98100 self .cpp_info .components ["viamsdk" ].system_libs .extend (["dl" , "rt" ])
99101
@@ -112,15 +114,14 @@ def package_info(self):
112114 self .cpp_info .components ["viamapi" ].sharedlinkflags .append (whole_archive )
113115
114116 self .cpp_info .components ["viamsdk" ].requires .extend ([
115- "viamapi" ,
116117 "boost::headers" ,
117118 "boost::log" ,
118119 "grpc::grpc++_reflection" ,
119120 "protobuf::libprotobuf" ,
120121 "xtensor::xtensor" ,
121122
122- "viam_rust_utils " ,
123- "abseil::absl_strings" ,
123+ "viamapi " ,
124+ "viam_rust_utils"
124125 ])
125126
126127 self .cpp_info .components ["viamsdk" ].frameworks = ["Security" ]
0 commit comments