def METHOD_NAME(self):
    self.cpp_info.requires = ["libyuv::libyuv", "libaom-av1::libaom-av1"]
    if self._has_dav1d:
        self.cpp_info.requires.append("dav1d::dav1d")
    self.cpp_info.libs = ["avif"]
    if self.options.shared:
        self.cpp_info.defines = ["AVIF_DLL"]
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.system_libs.extend(["pthread", "m"])
        if self._has_dav1d:
            self.cpp_info.system_libs.append("dl")
    self.cpp_info.set_property("cmake_file_name", "libavif")
    self.cpp_info.set_property("cmake_target_name", "avif")
    self.cpp_info.set_property("pkg_config_name", "libavif")
    # TODO: remove in conan v2
    self.cpp_info.names["cmake_find_package"] = "avif"
    self.cpp_info.names["cmake_find_package_multi"] = "avif"
    self.cpp_info.filenames["cmake_find_package"] = "libavif"
    self.cpp_info.filenames["cmake_find_package_multi"] = "libavif"
    self.cpp_info.build_modules["cmake_find_package"] = [self._alias_path]
    self.cpp_info.build_modules["cmake_find_package_multi"] = \
        [self._alias_path]