def METHOD_NAME(self):
    cmake_deps = CMakeDeps(self)
    cmake_deps.METHOD_NAME()
    tc = CMakeToolchain(self)
    # turn off deps to avoid picking up them accidentally
    tc.variables["ENABLE_NETTLE"] = self.options.with_nettle
    tc.variables["ENABLE_OPENSSL"] = self.options.with_openssl
    tc.variables["ENABLE_LIBB2"] = self.options.with_libb2
    tc.variables["ENABLE_LZ4"] = self.options.with_lz4
    tc.variables["ENABLE_LZO"] = self.options.with_lzo
    tc.variables["ENABLE_LZMA"] = self.options.with_lzma
    tc.variables["ENABLE_ZSTD"] = self.options.with_zstd
    tc.variables["ENABLE_ZLIB"] = self.options.with_zlib
    tc.variables["ENABLE_BZip2"] = self.options.with_bzip2
    # requires LibXml2 cmake name
    tc.variables["ENABLE_LIBXML2"] = self.options.with_libxml2
    tc.variables["ENABLE_ICONV"] = self.options.with_iconv
    tc.variables["ENABLE_EXPAT"] = self.options.with_expat
    tc.variables["ENABLE_PCREPOSIX"] = self.options.with_pcreposix
    if self.options.with_pcreposix:
        tc.variables["POSIX_REGEX_LIB"] = "LIBPCREPOSIX"
    tc.variables["ENABLE_LibGCC"] = False
    tc.variables["ENABLE_CNG"] = self.options.with_cng
    # turn off features
    tc.variables["ENABLE_ACL"] = self.options.with_acl
    # turn off components
    tc.variables["ENABLE_TAR"] = False
    tc.variables["ENABLE_CPIO"] = False
    tc.variables["ENABLE_CAT"] = False
    tc.variables["ENABLE_TEST"] = False
    # too strict check
    tc.variables["ENABLE_WERROR"] = False
    if Version(self.version) >= "3.4.2":
        tc.variables["ENABLE_MBEDTLS"] = self.options.with_mbedtls
    tc.variables["ENABLE_XATTR"] = self.options.with_xattr
    # TODO: Remove after fixing https://github.com/conan-io/conan/issues/12012
    if is_msvc(self):
        tc.cache_variables["CMAKE_TRY_COMPILE_CONFIGURATION"] = str(self.settings.build_type)
    tc.METHOD_NAME()