def METHOD_NAME(self):
    glewlib_target_name = "glew" if self.options.shared else "glew_s"
    self.cpp_info.set_property("cmake_find_mode", "both")
    self.cpp_info.set_property("cmake_module_file_name", "GLEW")
    self.cpp_info.set_property("cmake_file_name", "glew")
    self.cpp_info.set_property("cmake_target_name", "GLEW::GLEW")
    self.cpp_info.set_property("pkg_config_name", "glew")
    self.cpp_info.components["glewlib"].set_property("cmake_module_target_name", "GLEW::GLEW")
    self.cpp_info.components["glewlib"].set_property("cmake_target_name", f"GLEW::{glewlib_target_name}")
    self.cpp_info.components["glewlib"].set_property("pkg_config_name", "glew")
    if self.settings.os == "Windows":
        lib_name = "glew32" if self.options.shared else "libglew32"
    else:
        lib_name = "GLEW"
    if self.settings.build_type == "Debug":
        lib_name += "d"
    self.cpp_info.components["glewlib"].libs = [lib_name]
    if self.settings.os == "Windows" and not self.options.shared:
        self.cpp_info.components["glewlib"].defines.append("GLEW_STATIC")
    self.cpp_info.components["glewlib"].requires = ["opengl::opengl", "glu::glu"]
    # TODO: to remove in conan v2 once cmake_find_package_* generators removed
    self.cpp_info.filenames["cmake_find_package"] = "GLEW"
    self.cpp_info.filenames["cmake_find_package_multi"] = "glew"
    self.cpp_info.names["cmake_find_package"] = "GLEW"
    self.cpp_info.names["cmake_find_package_multi"] = "GLEW"
    self.cpp_info.components["glewlib"].names["cmake_find_package"] = "GLEW"
    self.cpp_info.components["glewlib"].names["cmake_find_package_multi"] = glewlib_target_name