def METHOD_NAME(self):
    self.cpp_info.set_property("pkg_config_name", "cppunit")
    self.cpp_info.libs = ["cppunit"]
    if not self.options.shared:
        libcxx = stdcpp_library(self)
        if libcxx:
            self.cpp_info.system_libs.append(libcxx)
        if self.settings.os in ["Linux", "FreeBSD"]:
            self.cpp_info.system_libs.extend(["dl", "m"])
    if self.options.shared and self.settings.os == "Windows":
        self.cpp_info.defines.append("CPPUNIT_DLL")