def METHOD_NAME(self):
    tc = CMakeToolchain(self)
    tc.cache_variables["LOGR_WITH_SPDLOG_BACKEND"] = self.options.backend == "spdlog"
    tc.cache_variables["LOGR_WITH_GLOG_BACKEND"] = self.options.backend == "glog"
    tc.cache_variables["LOGR_WITH_LOG4CPLUS_BACKEND"] = self.options.backend in ["log4cplus", "log4cplus-unicode"]
    tc.cache_variables["LOGR_INSTALL"] = True
    tc.cache_variables["LOGR_BUILD_TESTS"] = False
    tc.cache_variables["LOGR_BUILD_EXAMPLES"] = False
    tc.cache_variables["LOGR_BUILD_BENCHMARKS"] = False
    tc.METHOD_NAME()
    dpes = CMakeDeps(self)
    dpes.METHOD_NAME()