def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "benchmark")
    self.cpp_info.set_property("pkg_config_name", "benchmark")
    self.cpp_info.components["_benchmark"].set_property("cmake_target_name", "benchmark::benchmark")
    self.cpp_info.components["_benchmark"].libs = ["benchmark"]
    if Version(self.version) >= "1.7.0" and not self.options.shared:
        self.cpp_info.components["_benchmark"].defines.append("BENCHMARK_STATIC_DEFINE")
    if self.settings.os in ("FreeBSD", "Linux"):
        self.cpp_info.components["_benchmark"].system_libs.extend(["pthread", "rt", "m"])
    elif self.settings.os == "Windows":
        self.cpp_info.components["_benchmark"].system_libs.append("shlwapi")
    elif self.settings.os == "SunOS":
        self.cpp_info.components["_benchmark"].system_libs.append("kstat")
    if self.options.get_safe("enable_libpfm"):
        self.cpp_info.components["_benchmark"].requires.append("libpfm4::libpfm4")
    self.cpp_info.components["benchmark_main"].set_property("cmake_target_name", "benchmark::benchmark_main")
    self.cpp_info.components["benchmark_main"].libs = ["benchmark_main"]
    self.cpp_info.components["benchmark_main"].requires = ["_benchmark"]
    # workaround to have all components in CMakeDeps of downstream recipes
    self.cpp_info.set_property("cmake_target_name", "benchmark::benchmark_main")