def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "libzip")
    self.cpp_info.set_property("cmake_target_name", "libzip::zip")
    self.cpp_info.set_property("pkg_config_name", "libzip")
    # TODO: back to global scope in conan v2 once cmake_find_package* generators removed
    self.cpp_info.components["_libzip"].libs = ["zip"]
    if self.settings.os == "Windows":
        self.cpp_info.components["_libzip"].system_libs = ["advapi32"]
        if self.options.crypto == "win32":
            self.cpp_info.components["_libzip"].system_libs.append("bcrypt")
    # TODO: to remove in conan v2 once cmake_find_package* generators removed
    self.cpp_info.names["cmake_find_package"] = "libzip"
    self.cpp_info.names["cmake_find_package_multi"] = "libzip"
    self.cpp_info.components["_libzip"].names["cmake_find_package"] = "zip"
    self.cpp_info.components["_libzip"].names["cmake_find_package_multi"] = "zip"
    self.cpp_info.components["_libzip"].set_property("cmake_target_name", "libzip::zip")
    self.cpp_info.components["_libzip"].set_property("pkg_config_name", "libzip")
    self.cpp_info.components["_libzip"].requires = ["zlib::zlib"]
    if self.options.with_bzip2:
        self.cpp_info.components["_libzip"].requires.append("bzip2::bzip2")
    if self.options.with_lzma:
        self.cpp_info.components["_libzip"].requires.append("xz_utils::xz_utils")
    if self.options.get_safe("with_zstd"):
        self.cpp_info.components["_libzip"].requires.append("zstd::zstd")
    if self.options.crypto == "openssl":
        self.cpp_info.components["_libzip"].requires.append("openssl::crypto")
    elif self.options.crypto == "mbedtls":
        self.cpp_info.components["_libzip"].requires.append("mbedtls::mbedtls")
    if self.options.tools:
        self.env_info.PATH.append(os.path.join(self.package_folder, "bin"))