Skip to content

Commit b57fac7

Browse files
committed
add system_libs for linux: rt, pthread
1 parent 3187730 commit b57fac7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

recipes/libiec61850/all/conanfile.py

+3
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ def package_info(self):
5858
self.cpp_info.components["libiec61850"].set_property("pkg_config_name", "iec61850")
5959
self.cpp_info.components["libiec61850"].set_property("cmake_file_name", "libiec61850")
6060
self.cpp_info.components["libiec61850"].set_property("cmake_target_name", "libiec61850::libiec61850")
61+
if self.settings.os in ["Linux"]:
62+
self.cpp_info.system_libs.append("pthread")
63+
self.cpp_info.system_libs.append("rt")

0 commit comments

Comments
 (0)