Update conanfile.py linking c++ stl for Macos too
Some checks failed
Run UnitTests / build-and-run-tests (push) Has been cancelled
Some checks failed
Run UnitTests / build-and-run-tests (push) Has been cancelled
TODO: Figure out linking for Windows.
This commit is contained in:
parent
442aa1e422
commit
4afec4ddb9
1 changed files with 5 additions and 1 deletions
|
@ -54,4 +54,8 @@ class udpcRecipe(ConanFile):
|
|||
|
||||
def package_info(self):
|
||||
self.cpp_info.libs.append("UDPC")
|
||||
if self.settings.os == "Linux":
|
||||
self.cpp_info.system_libs.append("stdc++")
|
||||
elif self.settings.os == "Macos":
|
||||
self.cpp_info.system_libs.append("libc++")
|
||||
# TODO figure out linking static library for other OS.
|
||||
|
|
Loading…
Reference in a new issue