def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_find_mode", "both")
    self.cpp_info.set_property("cmake_file_name", "BZip2")
    self.cpp_info.set_property("cmake_target_name", "BZip2::BZip2")
    self.cpp_info.set_property("cmake_build_modules", [self._module_file_rel_path])
    self.cpp_info.libs = ["bz2"]
    self.cpp_info.names["cmake_find_package"] = "BZip2"
    self.cpp_info.names["cmake_find_package_multi"] = "BZip2"
    self.cpp_info.build_modules["cmake_find_package"] = [self._module_file_rel_path]
    if self.options.build_executable:
        self.env_info.PATH.append(os.path.join(self.package_folder, "bin"))