def METHOD_NAME(self):
    tc = CMakeToolchain(self)
    tc.variables["CMAKE_C_STANDARD"] = "99"
    tc.variables["BUILD_STATIC_LIBS"] = not self.options.shared
    if Version(self.version) >= "2.3.0":
        tc.variables["ENABLE_GD_FORMATS"] = True
    tc.variables["ENABLE_PNG"] = self.options.with_png
    tc.variables["ENABLE_LIQ"] = False
    tc.variables["ENABLE_JPEG"] = self.options.with_jpeg
    tc.variables["ENABLE_TIFF"] = self.options.with_tiff
    tc.variables["ENABLE_ICONV"] = False
    tc.variables["ENABLE_XPM"] = False
    tc.variables["ENABLE_FREETYPE"] = self.options.with_freetype
    tc.variables["ENABLE_FONTCONFIG"] = False
    tc.variables["ENABLE_WEBP"] = False
    if Version(self.version) >= "2.3.2":
        tc.variables["ENABLE_HEIF"] = False
        tc.variables["ENABLE_AVIF"] = False
    if Version(self.version) >= "2.3.0":
        tc.variables["ENABLE_RAQM"] = False
    tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
    tc.METHOD_NAME()
    deps = CMakeDeps(self)
    deps.METHOD_NAME()