def METHOD_NAME(self):
    tc = CMakeToolchain(self)
    if self.settings.compiler.get_safe("cppstd"):
        cppstd = str(self.settings.compiler.cppstd)
        if cppstd.startswith("gnu"):
            cppstd = cppstd[3:]
        tc.cache_variables["REDIS_PLUS_PLUS_CXX_STANDARD"] = cppstd
    tc.variables["REDIS_PLUS_PLUS_USE_TLS"] = self.options.with_tls
    if self.options.get_safe("build_async"):
        tc.cache_variables["REDIS_PLUS_PLUS_BUILD_ASYNC"] = "libuv"
    tc.variables["REDIS_PLUS_PLUS_BUILD_TEST"] = False
    tc.variables["REDIS_PLUS_PLUS_BUILD_STATIC"] = not self.options.shared
    tc.variables["REDIS_PLUS_PLUS_BUILD_SHARED"] = self.options.shared
    if Version(self.version) >= "1.2.3":
        tc.variables["REDIS_PLUS_PLUS_BUILD_STATIC_WITH_PIC"] = self.options.shared
    tc.METHOD_NAME()
    deps = CMakeDeps(self)
    deps.METHOD_NAME()