Skip to content

Commit ec59387

Browse files
committed
did I get conan stuff wrong
1 parent f1c1e4f commit ec59387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def package(self):
9191

9292
def package_info(self):
9393

94-
if self.options.shared:
94+
if not self.options.shared:
9595
self.cpp_info.components["viam_rust_utils"].libs = ["viam_rust_utils"]
9696

9797
self.cpp_info.components["viamsdk"].libs = ["viamsdk"]
@@ -135,7 +135,7 @@ def package_info(self):
135135
"viamapi",
136136
])
137137

138-
if self.options.shared:
138+
if not self.options.shared:
139139
self.cpp_info.components["viamsdk"].requires.extend([
140140
"viam_rust_utils"
141141
])

0 commit comments

Comments
 (0)