Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def configure(self):
# From some experiments it seems that the shared-ness of these packages
# should match that of the SDK recipe. Failure to do so can cause linker
# errors while compiling, or static initialization errors at runtime for modules.
for lib in ["grpc", "protobuf", "abseil"]:
for lib in ["grpc", "protobuf"]:
self.options[lib].shared = True

def requirements(self):
Expand All @@ -51,7 +51,6 @@ def requirements(self):
self.requires('protobuf/[>=3.17.1]')

self.requires('xtensor/[>=0.24.3]')
self.requires('abseil/[>=20230125.3]')

def build_requirements(self):
if self.options.offline_proto_generation:
Expand Down Expand Up @@ -94,8 +93,6 @@ def package_info(self):
if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.components[component].system_libs = ["pthread"]

self.cpp_info.components["viamapi"].requires.append("abseil::absl_strings")

if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.components["viamsdk"].system_libs.extend(["dl", "rt"])

Expand Down
Loading