Skip to content

Commit

Permalink
add libm to system libs
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Feb 6, 2023
1 parent fc3e70f commit 7591ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/cppunit/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 7591ec4

Please sign in to comment.