diff --git a/recipes/platformfolders/all/conanfile.py b/recipes/platformfolders/all/conanfile.py index c9ef0b7441cf7..e9a661cbf1d78 100644 --- a/recipes/platformfolders/all/conanfile.py +++ b/recipes/platformfolders/all/conanfile.py @@ -77,3 +77,6 @@ def package_info(self): self.cpp_info.set_property("cmake_file_name", "platform_folders") self.cpp_info.set_property("cmake_target_name", "sago::platform_folders") self.cpp_info.set_property("cmake_target_aliases", ["platform_folders"]) + + if self.settings.os in ("Linux", "FreeBSD"): + self.cpp_info.system_libs.append("m")