Update conanfile.py linking c++ stl for Macos too
Some checks failed
Run UnitTests / build-and-run-tests (push) Has been cancelled

TODO: Figure out linking for Windows.
This commit is contained in:
Stephen Seo 2024-07-14 11:33:08 +09:00
parent 442aa1e422
commit 4afec4ddb9

View file

@ -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.