From 7591ec4336bbd217cf2a49920c08dee3ae4aa310 Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Mon, 6 Feb 2023 16:58:05 +0100 Subject: [PATCH] add libm to system libs --- recipes/cppunit/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/cppunit/all/conanfile.py b/recipes/cppunit/all/conanfile.py index a289518386836..075926da847c9 100644 --- a/recipes/cppunit/all/conanfile.py +++ b/recipes/cppunit/all/conanfile.py @@ -120,6 +120,6 @@ def package_info(self): if libcxx: self.cpp_info.system_libs.append(libcxx) if self.settings.os in ["Linux", "FreeBSD"]: - self.cpp_info.system_libs.append("dl") + self.cpp_info.system_libs.extend(["dl", "m"]) if self.options.shared and self.settings.os == "Windows": self.cpp_info.defines.append("CPPUNIT_DLL")