def METHOD_NAME(self):
    if self.settings.os == "Windows":
        self.cpp_info.libs = ['glew32']
        if not self.options.shared:
            self.cpp_info.defines.append("GLEW_STATIC")
        if self.settings.compiler == "Visual Studio":
            if not self.options.shared:
                self.cpp_info.libs[0] += "s"
                self.cpp_info.libs.append("OpenGL32.lib")
                if self.settings.compiler.runtime != "MT":
                    self.cpp_info.exelinkflags.append('-NODEFAULTLIB:LIBCMTD')
                    self.cpp_info.exelinkflags.append('-NODEFAULTLIB:LIBCMT')
        else:
            self.cpp_info.libs.append("opengl32")
    else:
        self.cpp_info.libs = ['GLEW']
        if self.settings.os == "Macos":
            self.cpp_info.exelinkflags.append("-framework OpenGL")
        elif not self.options.shared:
            self.cpp_info.libs.append("GL")
    if self.settings.build_type == "Debug":
        self.cpp_info.libs[0] += "d"