def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "glfw3")
    self.cpp_info.set_property("cmake_target_name", "glfw")
    self.cpp_info.set_property("pkg_config_name", "glfw3")
    libname = "glfw"
    if self.settings.os == "Windows" or not self.options.shared:
        libname += "3"
    if self.settings.os == "Windows" and self.options.shared:
        libname += "dll"
        self.cpp_info.defines.append("GLFW_DLL")
    self.cpp_info.libs = [libname]
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.system_libs.extend(["m", "pthread", "dl", "rt"])
    elif self.settings.os == "Windows":
        self.cpp_info.system_libs.append("gdi32")
    elif self.settings.os == "Macos":
        self.cpp_info.frameworks.extend([
            "AppKit", "Cocoa", "CoreFoundation", "CoreGraphics",
            "CoreServices", "Foundation", "IOKit",
        ])
    # backward support of cmake_find_package, cmake_find_package_multi & pkg_config generators
    self.cpp_info.filenames["cmake_find_package"] = "glfw3"
    self.cpp_info.filenames["cmake_find_package_multi"] = "glfw3"
    self.cpp_info.names["cmake_find_package"] = "glfw"
    self.cpp_info.names["cmake_find_package_multi"] = "glfw"
    self.cpp_info.build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
    self.cpp_info.names["pkg_config"] = "glfw3"