def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "CppUTest")
    self.cpp_info.set_property("pkg_config_name", "cpputest")
    self.cpp_info.components["CppUTest"].set_property("cmake_target_name", "CppUTest")
    self.cpp_info.components["CppUTest"].libs = ["CppUTest"]
    if self.settings.os == "Windows":
        self.cpp_info.components["CppUTest"].system_libs.append("winmm")
    elif self.settings.os in ("Linux", "FreeBSD"):
        self.cpp_info.components["CppUTest"].system_libs.append("pthread")
    if self.options.with_extensions:
        self.cpp_info.components["CppUTestExt"].set_property("cmake_target_name", "CppUTestExt")
        self.cpp_info.components["CppUTestExt"].libs = ["CppUTestExt"]
        self.cpp_info.components["CppUTestExt"].requires = ["CppUTest"]
    # TODO: to remove in conan v2 once cmake_find_package* & pkg_config generators removed
    self.cpp_info.names["cmake_find_package"] = "CppUTest"
    self.cpp_info.names["cmake_find_package_multi"] = "CppUTest"
    self.cpp_info.names["pkg_config"] = "cpputest"
    self.cpp_info.components["CppUTest"].names["cmake_find_package"] = "CppUTest"
    self.cpp_info.components["CppUTest"].names["cmake_find_package_multi"] = "CppUTest"
    self.cpp_info.components["CppUTest"].build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.components["CppUTest"].build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
    if self.options.with_extensions:
        self.cpp_info.components["CppUTestExt"].names["cmake_find_package"] = "CppUTestExt"
        self.cpp_info.components["CppUTestExt"].names["cmake_find_package_multi"] = "CppUTestExt"
        self.cpp_info.components["CppUTestExt"].build_modules["cmake_find_package"] = [self._module_file_rel_path]
        self.cpp_info.components["CppUTestExt"].build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]