def METHOD_NAME(self):
    self.cpp_info.libs = ["metis"]
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.system_libs.append("m")
        self.cpp_info.defines.append("LINUX")
    elif self.settings.os == "Windows":
        self.cpp_info.defines.append("WIN32")
        self.cpp_info.defines.append("MSC")
        self.cpp_info.defines.append("_CRT_SECURE_NO_DEPRECATE")
    elif self.settings.os == "Macos":
        self.cpp_info.defines.append("MACOS")
    elif self.settings.os == "SunOS":
        self.cpp_info.defines.append("SUNOS")
    if is_msvc(self):
        self.cpp_info.defines.append("__thread=__declspec(thread)")
    bits = 64 if self.options.with_64bit_types else 32
    self.cpp_info.defines.append(f"IDXTYPEWIDTH={bits}")
    self.cpp_info.defines.append(f"REALTYPEWIDTH={bits}")
    # Defines for GKLib headers
    if self.settings.os == "Windows" or self.options.enable_gkregex:
        self.cpp_info.defines.append("USE_GKREGEX")
    if self.options.enable_gkrand:
        self.cpp_info.defines.append("USE_GKRAND")
    if self.options.with_pcre:
        self.cpp_info.defines.append("__WITHPCRE__")
    if self.options.with_openmp:
        self.cpp_info.defines.append("__OPENMP__")