def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "Ceres")
    self.cpp_info.set_property("cmake_target_name", "Ceres::ceres")
    libsuffix = ""
    if self.settings.build_type == "Debug":
        libsuffix = "-debug"
    # TODO: back to global scope in conan v2 once cmake_find_package* generators removed
    self.cpp_info.components["ceres"].libs = [f"ceres{libsuffix}"]
    self.cpp_info.components["ceres"].includedirs.append(os.path.join("include", "ceres"))
    if not self.options.use_glog:
        self.cpp_info.components["ceres"].includedirs.append(os.path.join("include", "ceres", "internal", "miniglog"))
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.components["ceres"].system_libs.append("m")
        if self.options.get_safe("use_CXX11_threads", True):
            self.cpp_info.components["ceres"].system_libs.append("pthread")
    elif is_apple_os(self):
        if Version(self.version) >= "2":
            self.cpp_info.components["ceres"].frameworks.append("Accelerate")
    self.cpp_info.components["ceres"].requires = ["eigen::eigen"]
    if self.options.use_glog:
        self.cpp_info.components["ceres"].requires.append("glog::glog")
    if self.options.get_safe("use_TBB"):
        self.cpp_info.components["ceres"].requires.append("onetbb::onetbb")
    if not self.options.shared:
        libcxx = stdcpp_library(self)
        if libcxx:
            self.cpp_info.components["ceres"].system_libs.append(libcxx)
    # TODO: to remove in conan v2 once cmake_find_package* generators removed
    self.cpp_info.names["cmake_find_package"] = "Ceres"
    self.cpp_info.names["cmake_find_package_multi"] = "Ceres"
    self.cpp_info.components["ceres"].set_property("cmake_target_name", "Ceres::ceres")